Stock Heatmap
A zoomable treemap displays stock market data, with each block sized by trading volume and colored by percentage gain or loss. The visualization organizes stocks by sector, using a threshold color scale that maps negative returns to reds, neutral to gray, and positive returns to greens. The D3 v3 layout uses `d3.layout.treemap` for the hierarchical structure, and the file also relies on `d3.queue` for asynchronous data loading. The color function uses `d3.scale.threshold` with specific domain intervals, while the interface supports zooming through the parent-child block navigation.
AI-generated descriptionA zoomable heat map of stocks classified by sector. The size of the blocks is a function of the volume traded and the color shows the gains / loss. Based on Zoomable Treemap by Mike Bostock.
forked from <a href='http://bl.ocks.org/anilnairxyz/'>anilnairxyz</a>'s block: <a href='http://bl.ocks.org/anilnairxyz/754723d31dd14d50a3142e65d47c1057'>Stock Heatmap</a>