This is a simple cryptocurrency treemap that shows the market capitalization of the top 100 cryptocurrencies. The data is fetched from the coin360's API and the treemap is created using Plotly.
This is a very common visualization often used for the stock market, especially for the S&P 500. The treemap gives you a quick overview of the performance of the top 100 cryptocurrencies. The size of the boxes represents the market capitalization of the cryptocurrency and the color represents the 24-hour change.
The required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block after cloning the repository:
pip install -r requirements.txt
To generate the chart, simply run the script using the following command:
python src/main.py
The following chart is an example of the output generated by the script.
The following image was used as a reference to create the crypto treemap.
This project is part of a series of projects that I have created. You can find the other projects in the following list: