Create Time Series Animations in Python with Matplotlib! (Line Graphs)

Опубликовано: 23 Март 2026
на канале: Keith Galli
15,814
483

In this video, we're speed-running the creation of an animated line graph visualization comparing AMD, Intel, and Nvidia stock prices over time using Python and matplotlib! We'll go from raw data to a polished animation in minutes, utilizing AI assistance from Claude to help accelerate our development. You'll see how to load and process stock data, create dynamic visualizations with moving price labels, and export the final result as both MP4 and GIF formats. Whether you're interested in data visualization, financial analysis, or just want to see how AI can help speed up coding workflows, this tutorial has something for you! All the code is available in the description below. Let's dive in!

Link to Code:
https://github.com/KeithGalli/time-se...

Check out the other video on bar chart races!
   • Create Time Series Animations in Python wi...  

#python #matplotlib #datavisualization

Music by Dyce:
https://www.instagram.com/agodnameddy...

-------------------------
Follow me on social media!
Instagram |   / keithgalli  
Twitter |   / keithgalli  
TikTok |   / keithgalli  

-------------------------
Learn data skills with hands-on exercises & tutorials at Datacamp!
https://datacamp.pxf.io/c/3588040/101...

Practice your Python Pandas data science skills with problems on StrataScratch!
https://stratascratch.com/?via=keith

Join the Python Army to get access to perks!
YouTube -    / @keithgalli  
Patreon -   / keithgalli  

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.