Build a Better Bar Chart with This Trick

(It’s really a seaborn scatter plot!)

Lee Vaughan
Towards Data Science
7 min readAug 26, 2023

--

Part of an “Age of Congress” scatter plot (all images by the author)

Whenever I need inspiration for effective visualizations, I browse The Economist, the Visual Capitalist, or The Washington Post. During one of these forays, I ran across an interesting infographic — similar to the one shown above — that plotted the age of each member of the US Congress against their generational cohort.

--

--

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