Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions doc/gallery/examples/pie-chart.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,18 @@ VISUALISE island AS fill FROM ggsql:penguins
PROJECT TO polar SETTING start => -90, end => 90
SCALE angle SETTING expand => 0
```


### Faceting pie charts

When faceting, you will typically want to pies to be whole, which requires the `SETTING free => 'angle'` specification.

```{ggsql}
VISUALISE island AS fill FROM ggsql:penguins
DRAW bar
PROJECT TO polar
FACET species SETTING free => 'angle'
```



Loading