Animated Stacked Bar Charts with Python and Matplotlib

My goal with this project was to build an animation of a horizontal stacked bar chart using Python. The inspiration and the data used for this came from the charts on the ourworldindata.org website [1]. I set a challenge for myself to see if I could build the same type of chart that is able … Continue reading Animated Stacked Bar Charts with Python and Matplotlib

Sankey Diagrams in Python for Energy Commodities Flows

A Sankey diagram is a visual representation of the categories and flow of quantities from one set of starting values to another set of end values. These diagrams are named after the Irish engineer Matthew Sankey who introduced the first such energy flow diagram in an 1898 article on the efficiency of steam engines [1]. … Continue reading Sankey Diagrams in Python for Energy Commodities Flows

Euro 2024 Tournament Data Visualised with Python

Even though it feels like football's never coming home, I still enjoy the buzz and excitement of an international tournament every couple of years. Sports statistics is another avenue for data visualisation I've been curious about recently so I thought it's worth delving into each team's performance stats using Python and Matplotlib. The code for … Continue reading Euro 2024 Tournament Data Visualised with Python

Visualising Energy Data with the Matplotlib Python library

The graphs below are a few simple visualisations using the Matplotlib library with the aim of showing how electricity generation in the United Kingdom has evolved in the last decade or so. Data were taken from official government statistics used in the annually published "Digest of UK Energy Statistics" reports [1]. This is my first … Continue reading Visualising Energy Data with the Matplotlib Python library