Serge Aurubin

SERGE AURUBIN

DATA SCIENTIST

Welcome to my blog for everything having to do with data science and analysis. I am always looking for new opportunities to drive business insight using data analysis.

Data & Analytics
  • Data Analysis
  • Power BI
  • Excel
  • Data Pipelines
  • Matillion
Engineering
  • Software Developer
  • Python
  • PHP
  • ReactJS
  • Flutter
  • Front End Dev
  • Back End Dev
Databases
  • MySQL Dev/DBA
  • Oracle DBA
Cloud & AI
  • Amazon Web Services
  • Docker
  • Kubernetes
  • Git
  • Artificial Intelligence
  • Claude
  • OpenAI
Back to Videos

Create Time Series Animations in Python with Matplotlib! (Bar Chart Race)

Keith Galli

November 24, 2024   1

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...

0 Comments

No comments yet. Be the first to weigh in.

Back to Videos

Login