https://github.com/stephanakkerman/crypto-treemap
A simple cryptocurrency treemap written in Python using coin360's style
https://github.com/stephanakkerman/crypto-treemap
coin360 crypto cryptocurrency cryptos finance financial-analysis heatmap plotly python treemap visualization
Last synced: about 1 year ago
JSON representation
A simple cryptocurrency treemap written in Python using coin360's style
- Host: GitHub
- URL: https://github.com/stephanakkerman/crypto-treemap
- Owner: StephanAkkerman
- License: mit
- Created: 2024-09-01T15:38:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-07T10:29:00.000Z (over 1 year ago)
- Last Synced: 2025-03-10T05:53:53.629Z (about 1 year ago)
- Topics: coin360, crypto, cryptocurrency, cryptos, finance, financial-analysis, heatmap, plotly, python, treemap, visualization
- Language: Python
- Homepage:
- Size: 940 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://coin360.com/)'s API and the treemap is created using Plotly.
---
## Introduction
This is a very common visualization often used for the stock market, especially for the [S&P 500](https://github.com/StephanAkkerman/spy-heatmap). 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:
```bash
pip install -r requirements.txt
```
## Usage ⌨️
To generate the chart, simply run the script using the following command:
```bash
python src/main.py
```
## Example 📊
The following chart is an example of the output generated by the script.

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

## 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:
- [Total Liquidation Chart](https://github.com/StephanAkkerman/liquidations-chart)
- [Bitcoin Rainbow Chart](https://github.com/StephanAkkerman/bitcoin-rainbow-chart)
- [Live Binance Charts](https://github.com/StephanAkkerman/live-binance-charts)
- [RSI Heatmap](https://github.com/StephanAkkerman/crypto-rsi-heatmap)
- [Funding Rate Heatmap](https://github.com/StephanAkkerman/funding-rate-heatmap)
- [S&P 500 Heatmap](https://github.com/StephanAkkerman/spy-heatmap)