I used matplotlib to plot the graph for the top 10 most populous cities every year from 1575 to 2019. Then saved the graph for every year and used pygame to blit the images to make the animation.
I have practice of the Matplotlib-all-graph file where i have done a lot of practice on graph, added color, width, pie chart, divide the a single part with group, bar chart, recpectively.