Pie chart
A pie chart is a circular visualization divided into sectors whose sizes represent parts or proportions of a whole.
Pandas Workout: 200 exercises to make you a stronger data analyst
A pie chart displays parts of a whole as sectors whose angular sizes represent category proportions.
- How it is used
- Visualizes category contributions to a defined total during exploratory analysis of filtered and grouped pandas data.
- How deep it goes
- Explains proportions and demonstrates filtering, indexing, grouping, counting, and plotting, but does not develop chart-design theory.
- Examples
- Uses Massachusetts city populations and institutional control categories for computer-science programs.
- What you can do after
- Apply it via pandas to convert filtered or grouped Series into proportional sector charts.
Read how Pandas Workout: 200 exercises to make you a stronger data analyst explains pie chart →
Everyday Data Visualization
A circular chart divided into segments whose angles or areas represent quantities or proportions.
- How it is used
- Shows a simple parts-of-a-whole message, especially a two-way split.
- How deep it goes
- Explains angle-estimation limits and practical segment and comparison constraints, without prescribing a specific tool.
- Examples
- Uses a bagged-versus-others avocado-sales donut and passed-versus-did-not-pass style splits.
- What you can do after
- Apply it by choosing compact two- or three-segment part-to-whole displays and avoiding cross-chart slice comparisons.
Build Python Web Apps with Streamlit
A pie chart is a circular visualization that represents a whole as slices whose sizes correspond to component values or percentages.
- How it is used
- Uses pie charts in dashboards to show how filtered totals break down across a chosen dimension.
- How deep it goes
- Builds the chart through filtering, grouping, aggregation, metric validation, Plotly construction, and Streamlit display.
- Examples
- Demonstrates sales by product, brand, gender, age group, state, category, or segment after dashboard filtering.
- What you can do after
- Apply it via Plotly and Streamlit after preparing grouped dimension values with pandas.
Read how Build Python Web Apps with Streamlit explains pie chart →
Related concepts
- channeluses · A channel is an independent component or dimension of image or tensor data carrying a distinct color, feature, activation, or value stream.
- visualizationkind of · Visualization is the representation of data, information, or concepts in visual form to support inspection, interpretation, analysis, or communication.
- bar chartcontrasts with · A bar chart is a visualization that compares quantitative values for discrete categories using rectangular bars whose lengths or heights encode magnitude.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


