Pygame is a cross-platfrom library designed to make it easy to write multimedia software, such as games, in Python. Pygame requires the Python language and SDL multimedia library. It can also make use ...
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.