Make a Punchcard Plot with Seaborn

Quickly identify cyclical trends

Lee Vaughan
Towards Data Science
6 min readSep 17, 2023

--

A mechanical punch clock next to a rack of timecards.
A punch clock with timecards (image by Hennie Stander on UnSplash)

A punchcard plot, also called a table bubble chart, is a type of visualization for highlighting cyclical trends in data. It displays data in a rigid matrix or grid format, usually composed of days of the week versus hours of the day. Circles represent data points at the intersections of the rows and columns and their size conveys the data value…

--

--

Author of “Python Tools for Scientists,” “Impractical Python Projects,” and “Real World Python.” Former Senior Principal Scientist for ExxonMobil.