MENU

Fun & Interesting

How to make a bar chart race with python (30 lines of code + example scripts)

Sjoerd Tilmans 8,733 3 years ago
Video Not Working? Fix It Now

Full Data Animation Course: https://www.udemy.com/course/mastering-data-visualization-and-animation-with-python/?referralCode=0F9CC9944C6DD1BA643B In this video I will show you how to make your own racing bar chart with Python! The tutorial is divided into the following sections: 0:00 Introduction 0:07 Prerequisites 1:31 Downloading the dataset 1:49 Basic animated bar race 6:01 How to add a title 6:38 How to add the time indication 6:58 How to add a logo 7:23 Setting the colors for each of the data categories 8:34 How to add the icons for each of the data categories 09:10 Intermezzo 09:24 How to add additional images 11:15 Resizing the visualization 12:01 Using TkInter to add more visual elements to the visualization All the links: Buy me a coffee: https://www.buymeacoffee.com/SjoerdTilmans Download python: https://www.python.org/downloads/ Download sjvisualizer: https://github.com/SjoerdTilmans/sjvisualizer/tree/main/dist Data set download: https://www.sjdataviz.com/post/data-download-historical-number-of-nuclear-weapons-by-country-from-1950-2021 Example color json file: https://github.com/SjoerdTilmans/sjvisualizer-examples/blob/main/Nuclear%20bar%20race%20example/colors.json Flag icons: https://github.com/SjoerdTilmans/sjvisualizer-examples/tree/main/Nuclear%20bar%20race%20example/assets GitHub examples: https://github.com/SjoerdTilmans/sjvisualizer-examples Sjvisualizer GitHub repo: https://github.com/SjoerdTilmans/sjvisualizer #PieChartPirate #DataVisualization #PieChart

Comment