Subsurface Syntax

Subsurface Syntax

How to Create Beautiful Waffle Charts for Data Visualisation in Python

A Great Alternative to Pie Charts for Data Visualisation

Andy McDonald's avatar
Andy McDonald
Feb 08, 2023
∙ Paid

A Great Alternative to Pie Charts for Data Visualisation

Photo by Mae Mu on Unsplash

Waffle charts are a great way to visualise categorical data, are aesthetically pleasing and easy for readers to understand — which is one of the key goals of effective data visualisations. They also provide a nicer looking alternative to pie charts.

Waffle charts are square or rectangular displays made up of smaller squares in a grid pattern. Most commonly, it is a 10 x 10 grid, but they can be any dimension you want them to be, and this will depend on the data you are looking to display. Each square within the grid is coloured based on a category and represents a portion of the whole. From these plots, we can see contributions of individual categories or display progress towards a goal.

Keep reading with a 7-day free trial

Subscribe to Subsurface Syntax to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2026 Andy McDonald · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture