Python Chart Gallery

Pick a chart by what you want to show, then follow the link under it to a Python tutorial with the code. The gallery covers 110 kinds of charts, plots and tables made with Matplotlib, Seaborn, Plotly, pandas and other libraries. For help by library, see the Matplotlib, Seaborn, Plotly and Bokeh tutorials.

Comparing Categories

Compare values, ranks or targets across groups.

Change Over Time

Show trends, cycles and schedules.

Distributions

See the shape, spread and outliers of your data.

Relationships and Correlation

Show how variables move together.

Parts of a Whole and Sets

Break a total into its pieces, or show overlaps.

Flows, Processes, and Trees

Trace movement between stages or the steps in a decision.

Maps

Put data on a map, either static or interactive.

3D, Layouts, Images, and Animation

Add a third dimension, arrange panels, display arrays or show motion.

Uncertainty and Experiments

Report estimates with their uncertainty, and read A/B tests.

Machine Learning

Evaluate and explain models.

Causal Inference

Show what an intervention changed.

Tables and Dashboards

Present numbers as a formatted table, KPI card or app.