All charts

👋 This page displays all the charts available in the python graph gallery.

The vast majority of them are built using matplotlib, seaborn and plotly. But many other python charting libraries are used too.

Click on an image to read the full tutorial with explanation and reproducible code 😍! If you are interested in a particular chart type, please check the classification in the front page.

Animated volcano plot with Python
See code
The most basic histogram with seaborn. It adds a density on top by default

The most basic histogram with seaborn. It adds a density on top by default

Play with the bin parameter to control the number of bars

Play with the bin parameter to control the number of bars

Remove the density chart on top of the seaborn histogram

Remove the density chart on top of the seaborn histogram

Add rug on top of the histogram

Add rug on top of the histogram

Customize the rug: color, size and more

Customize the rug: color, size and more

Customize the appearance of the density chart displayed on top of the histogram

Customize the appearance of the density chart displayed on top of the histogram

How to split the chart window to display a boxplot on top of the histogram

How to split the chart window to display a boxplot on top of the histogram

Compare the distribution of several groups on the same chart

Compare the distribution of several groups on the same chart

Use small multiple to compare the distribution of several groups

Use small multiple to compare the distribution of several groups

Histogram can be added around a scatterplot to show each variable distributions

Histogram can be added around a scatterplot to show each variable distributions

Histogram can be added around a 2d density chart to show x and y variable distributions

Histogram can be added around a 2d density chart to show x and y variable distributions

Mirror density chart to compare the distribution of 2 variables

Mirror density chart to compare the distribution of 2 variables

How to build a basic line chart with python from any kind of input format

How to build a basic line chart with python from any kind of input format

How to customize the matplotlib line plot appearance: width, stroke, color, style..

How to customize the matplotlib line plot appearance: width, stroke, color, style..

Line chart with multiple groups

Line chart with multiple groups

How to customize the matplotlib line plot appearance: width, stroke, color, style..

How to customize the matplotlib line plot appearance: width, stroke, color, style..

Line chart with multiple groups

Line chart with multiple groups

Line chart and small multiple

Line chart and small multiple

Line chart and small multiple (variation)

Line chart and small multiple (variation)

Most basic lollipop. Will get you started with any kind of input format

Most basic lollipop. Will get you started with any kind of input format

Basic circle customizations: shape, size, color and more.

Basic circle customizations: shape, size, color and more.

Change lollipop baseline position.

Change lollipop baseline position.

Horizontal lollipop chart (more readable labels).

Horizontal lollipop chart (more readable labels).

Highlight some specific groups in a lollipop.

Highlight some specific groups in a lollipop.

Cleveland chart: a lollipop chart with 2 subgroups displayed under each row.

Cleveland chart: a lollipop chart with 2 subgroups displayed under each row.

Lollipop chart with conditional colors.

Lollipop chart with conditional colors.

How to build a very basic violin. Shows example based on different input formats.

How to build a very basic violin. Shows example based on different input formats.

Make your violin chart horizontal to make labels more readable

Make your violin chart horizontal to make labels more readable

Chart appearance: control violin width, stroke width and more

Chart appearance: control violin width, stroke width and more

How to manage colors on a python violin plot

How to manage colors on a python violin plot

Control the groups order, very useful if you want to display them by increasing mean

Control the groups order, very useful if you want to display them by increasing mean

See code
See code
A polar chart with small multiple to compare 4 groups

A polar chart with small multiple to compare 4 groups

300 projects

💡 Out of dataviz inspiration?

I have spent years collecting the most beautiful data visualizations out there. Get the list of my top 300 dataviz projects, hand-picked, for free.

I respect your privacy. Unsubscribe anytime.