You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://app.codecov.io/gh/tidyverse/ggplot2?branch=main)
It's hard to succinctly describe how ggplot2 works because it embodies a deep philosophy of visualisation. However, in most cases you start with `ggplot()`, supply a dataset and aesthetic mapping (with `aes()`). You then add on layers (like `geom_point()` or `geom_histogram()`), scales (like `scale_colour_brewer()`), faceting specifications (like `facet_wrap()`) and coordinate systems (like `coord_flip()`).
48
50
49
-
```{r example}
51
+
```{r}
52
+
#| label: example
50
53
#| fig.alt: "Scatterplot of engine displacement versus highway miles per
51
54
#| gallon, for 234 cars coloured by 7 'types' of car. The displacement and miles
0 commit comments