# Use Esquisse to create plots quickly

ggplots is great package but it can be a bit overwhelming to deal with. So many options and functions. Lucky for us, thanks to Fanny Meyer & Victor Perrier, there is a shortcut, the [esquisse package](https://dreamrs.github.io/esquisse/index.html). It basically helps explore your data quickly and build a ggplot.&#x20;

Let me take an example\
\
As always *installing* and *loading*

```
install.packages("esquisse")
library("esquisse")
```

After that, only one line of code to make the magic happens

```
esquisser()
```

![esquisse wiward](/files/-MYWo3fVcv04CXzsMDzY)

you pick your dataset, the field you want to import and it's now possible to choose what metrics to display on each axis by drag & dropping them into each selector

![](/files/-MYWpahtQgCrdXKoAX34)

Pick the plot style

![](/files/-MYWqSt1Bofg88Dh7dlY)

you can also customise the plot titles and legends

![](/files/-MYWpsFwLYtI1gY2EFn3)

you can pick the colors and plot style

![](/files/-MYWpxttynURaCtljypb)

Filter the values

![](/files/-MYWq6LPlLCpKoG7n_Nm)

Last and foremost, it gives you the code to generate this plot + some extra export option.

![](/files/-MYWqEXIEgK7gvbFUeLn)

Esquisse is not capable of doing every available ggplots but for a simple graph, it's a great way to speed up the processs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.rforseo.com/data-viz/using-esquisse-package-x.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
