Pie Chart

Learn how to draw a pie chart and its alternatives in Altair.

Pie charts are a great way to view data quickly in an easy-to-understand format. They take large datasets and break them down into smaller pieces, allowing us to see the big picture without having to do complex calculations. We can use pie charts to represent the composition of a whole.

Press + to interact
An example of a pie chart
An example of a pie chart

When are pie charts useful?

We can use pie charts for the following reasons:

  • To display percentages or proportional relationships between different parts of the data.

  • To compare parts of a whole. ...