Prerequisites: having Python installed on your pc or being registered for Google Colaboratory.

Step 0

First of all, create a new directory for the project (if you use Google Colaboratory skip to step 1)

mkdir my_bar_chart_race

And create a new virtual environment, and activate it:

python3 -m venv venv
source venv/bin/activate

Step 1

If you haven’t already, install pandas

pip3 install pandas

Install the library we’ll use to create the bar chart race named, you won’t guess it, bar_chart_race

pip3 install bar_chart_race

#pandas #python #data-science #programming

How To Make a Bar Chart Race With Python in 2 Minutes
2.25 GEEK