Create Time Series Animations in Python with Matplotlib! (Bar Chart Race)
Keith Galli
Learn how to create fun animated bar chart races in Python using matplotlib! This tutorial walks through building population trend visualizations from scratch, covering data processing, basic plotting, animation techniques, and styling improvements. Perfect for anyone interested in data visualization who wants to recreate those engaging animated charts you've seen online. We'll turn static data into dynamic visualizations using just Python and matplotlib.
Link to Code:
https://github.com/KeithGalli/time-series-animations
Link to Dataset:
https://population.un.org/wpp/Download/Standard/MostUsed/
Video Timeline!
0:00 - Video Overview
1:01 - Step 0.) Find a Dataset to Use (link in description)
1:43 - Step 1.) Initial Data Processing/Cleaning
5:17 - Step 2.) Plot Static Bar Chart using Matplotlib
8:27 - Step 3.) Create animation using Matplotlib FuncAnimation & Save it as mp4 video
15:39 - Step 4.) Improve Formatting & Styles
#python #matplotlib #datavisualization
-------------------------
Follow me on social media!
Instagram | https://www.instagram.com/keithgalli/
Twitter | https://twitter.com/keithgalli
TikTok | https://tiktok.com/@keithgalli
-------------------------
Learn...
Link to Code:
https://github.com/KeithGalli/time-series-animations
Link to Dataset:
https://population.un.org/wpp/Download/Standard/MostUsed/
Video Timeline!
0:00 - Video Overview
1:01 - Step 0.) Find a Dataset to Use (link in description)
1:43 - Step 1.) Initial Data Processing/Cleaning
5:17 - Step 2.) Plot Static Bar Chart using Matplotlib
8:27 - Step 3.) Create animation using Matplotlib FuncAnimation & Save it as mp4 video
15:39 - Step 4.) Improve Formatting & Styles
#python #matplotlib #datavisualization
-------------------------
Follow me on social media!
Instagram | https://www.instagram.com/keithgalli/
Twitter | https://twitter.com/keithgalli
TikTok | https://tiktok.com/@keithgalli
-------------------------
Learn...
0 Comments
No comments yet. Be the first to weigh in.