A better visual representation of the CMC top10 gainers in a 24h interval Uses selenium and there are two types of results you can get:
A static treemap - uses sqarify and matplotlib to plot A dynamic treemap where you have to hover your cusor to display each section details and it reloads in an interval- uses plotly to plot
I assume you know how to install and setup webdriver, either firefox or chrome. you first need to download webdriver for your os/browser and then place it in a directory
webdriver selenium numpy pandas time datetime squarify plotly
Didn't really encounter any issues while trying to plot, I only just realized that what I was trying to do is call a TREEMAP not HEATMAP really lol 😉
For the best view I'd suggest the Jupyter Notebook version