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

preview_player
Показать описание
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:

Check out the other video on bar chart races!

#python #matplotlib #datavisualization

Music by Dyce:

-------------------------
Follow me on social media!

-------------------------
Learn data skills with hands-on exercises & tutorials at Datacamp!

Practice your Python Pandas data science skills with problems on StrataScratch!

Join the Python Army to get access to perks!

*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.
Рекомендации по теме
Комментарии
Автор

It's great that you start projects with the command line. You make it look so simple. I usually do it using the graphical interface, but I want to get used to using the terminal more. Once again, the video is super useful.
You know it's good you show that you use AI to your advantage.

FIBONACCIVEGA
Автор

i have gained a lot from your videos. keep it up

jadafrancis-qo
Автор

Please make a series on data visualization, dashboards, etc. using all the python data viz libraries!

JimRohn-uc
Автор

Also another idea for you is to revisit old projects and ask AI to revise and optimise the code. I'm always amazed at the results but, I am not at your Python level even though I got some complicated projects done with a lot of back and forth between stackoverflow and my hurdles back in the day...now how could you even go back!

Master_of_Chess_Shorts
Автор

Hi Keith, thank you for sharing, could you please teach is how to build Animated Bubble Chart?

AkaExcel
Автор

haha thats funny, I was about to ask myself "why not just ask a AI how to do it?" and then you switched to claude :)

frodounterberg
Автор

What do you have against Command + Tab? Seeing you hit Command + Space and type in visua... chrome...

DerekCordeiro
Автор

Thanks and I have a question. How do you do this in VS code that code gets suggested automatically as you type ?

wimgielis
Автор

I always learn a lot from watching your videos, you know? According to what you ask at the end of your video. It would be very helpful and I would like you to watch an example working with Big Data. Especially extracting and doing calculations or statistical analysis on large volumes of data, when it is not possible to download or transform to CSV format. I usually do large calculations in POStgres but how should I proceed? What are the good practices and the steps of actions?. I have to do it at work but it is still difficult for me because I don't have a clear order in the steps to follow. Thanks in advance . Chao!!

FIBONACCIVEGA
Автор

in your next video I would like you to display its data in powerbi.

nelsonbeneche
Автор

Not sure if it's possible or not but try making bar chart animation with circular photos at the end for something like country by GDP over years

manthanmistry
Автор

Damn Claude blocking our country number 😅😅 but yeah that's pretty cool!

Blueberryou