Assignment 7 Heat Map with Tooltips
This heat map visualizes average monthly prices for four leafy greens—spinach, cress, mustard, and fennel—using a sequential green color scale to encode price levels, with a d3-legend color bar and interactive tooltips that display exact prices on hover. The visualization is built with D3 v6, using SVG rendering and scales such as `d3.scaleBand` for the x (date) and y (commodity) axes, while `d3.scaleSequential` with `d3.interpolateBuGn` drives the color encoding. Data is loaded from a CSV file via `d3.csv`, filtered to include only the specified commodities, and rendered as rects with hover events for tooltip feedback.
AI-generated descriptionCS 360 Assignment 7 Heat Map with Tooltips
Annie Huynh
CSV URL:https://raw.githubusercontent.com/Ahuynh111/gist-practice/main/fvPrices.csv
Note: Different data set from previous assignments