Skip to content

A simple cryptocurrency treemap written in Python using coin360's style

License

Notifications You must be signed in to change notification settings

StephanAkkerman/crypto-treemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptocurrency Treemap 📊

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.

Supported versions License Code style: black


Introduction

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.

Installation ⚙️

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

Usage ⌨️

To generate the chart, simply run the script using the following command:

python src/main.py

Example 📊

The following chart is an example of the output generated by the script. chart

References 📚

The following image was used as a reference to create the crypto treemap. reference

Other Projects 📦

This project is part of a series of projects that I have created. You can find the other projects in the following list:

Releases

No releases published

Packages

No packages published

Languages