Install from pypi or conda-forge
pip install bar_chart_race
conda install -c conda-forge bar_chart_race
In order to save animations as mp4/m4v/mov/etc... files, you must install ffmpeg, which allows for conversion to many different formats of video and audio. For macOS users, installation may be easier using Homebrew.
After installation, ensure that
ffmpeg has been added to your path by going to your command line and entering
Install ImageMagick for animated gifs¶
If you desire to create animated gifs, you'll need to install ImageMagick. Verify that it has been added to your path with
Bar Chart Race requires that you have both matplotlib and pandas installed.