Fork of Fork of Fork of Responsive Axes - New Technique - Air Quality Dataset
✓ Published1🌍 Public
Vvigneshs1006@gmail.com
Last edited Feb 24, 2024
Created on Feb 17, 2024
This visualization displays the top 10 locations with the highest NO2 levels from an air quality dataset, using a responsive bar chart with color-encoded values. The chart includes a tooltip showing exact values and regions on hover, plus a legend that supports interactive filtering by clicking color swatches. Built with D3.js (v7), it uses `scaleBand` and `scaleLinear` for scales, `scaleSequential` with `interpolateBlues` for color mapping, and a ResizeObserver for responsive axes that maintain tick mark density across window resizes.
AI-generated descriptionA viz container with responsive axes that have consistent tick mark density. Try opening in full screen mode and resizing!
Challenge
- Use this technique to make the axes on your viz responsive
MIT Licensed