Viewing a saved revision (read-only)
905c3ee8476148faadb4ecf6cf722e25
Fork of Fork of Fork of Fork of Responsive Axes - New Technique - Air Quality Dataset
This example visualizes NO2 air quality levels for the top ten geographic locations, rendered as a responsive bar chart with a sequential color scale. The chart displays each location's Unique ID on the x-axis and NO2 concentration in parts per billion on the y-axis. Interactions include hover tooltips that reveal regional values, an interactive color legend that toggles between blue and green sequential scales via `d3.scaleSequential`, and bar highlighting on mouseover. The visualization uses D3.js for data binding, scales, and axes, with `ResizeObserver` for responsive sizing and SVG for rendering.
AI-generated descriptionAdded hover interaction to color legend, and toggling the color of the chart