::: {.cell layout-align="center"}

```{.r .cell-code}
ggplot(data = diamonds, aes(x = cut, y = price, fill = color)) +
  geom_boxplot() +
  scale_y_log10()
```

::: {.cell-output-display}
![](ggplot2_basics_slides_files/figure-revealjs/unnamed-chunk-18-1.png){fig-align='center' width=960}
:::
:::