Circular Barplot


A circular barplot is pretty much the same as a barplot, but using polar coordinates instead of cartesian coordinates. They are a bit tricky to build with Python and less accurate than usual barplot, but they come with an eye-catching effect that sometimes make them worth it.

Matplotlib logoCircular barplot with Matplotlib

Matplotlib allows to build circular barplots thanks to the polar Layout option of the subplot() function. Examples below should guide you from the most simple version to some more customization.

It starts by explaining how the polar coordinates of matplotlib works, show how to use it to draw bars and finally goes into the trickiness of adding labels.

Circular barplot with labels

Contact

👋 This document is a work by Yan Holtz. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message onTwitter, or send an email pasting yan.holtz.data with gmail.com.

Violin

Density

Histogram

Boxplot

Ridgeline

Scatterplot

Heatmap

Correlogram

Bubble

Connected Scatter

2D Density

Barplot

Spider / Radar

Wordcloud

Parallel

Lollipop

Circular Barplot

Treemap

Venn Diagram

Donut

Pie Chart

Dendrogram

Circular Packing

Line chart

Area chart

Stacked Area

Streamgraph

Map

Choropleth

Hexbin

Cartogram

Connection

Bubble

Chord Diagram

Network

Sankey

Arc Diagram

Edge Bundling

Colors

Interactivity

Animation with python

Animation

Cheat sheets

Caveats

3D