Temperature In SanFrancisco : LineChart
✓ Published0🌍 Public
This example visualizes earthquake counts across U.S. states from 2010 to 2015, broken down by magnitude category. A dropdown menu lets users switch between categories, updating a heatmap of colored rectangles. The visualization uses d3.csv to load data, d3.scaleBand for axes, d3.scaleQuantize for the color scale, and d3.axisLeft and d3.axisBottom for chart axes. Hovering over a cell reveals its exact count via a tooltip, and a legend shows the color-to-value mapping.
AI-generated descriptionAn example including some commonly used features of SVG.
MIT Licensed