HC
✓ Published0🌍 Public
This visualization shows air pollution measurements over time using a horizon chart, a technique that reduces vertical space by layering offset copies of a line chart with varying color bands. It displays multiple pollutant types as separate horizontal ribbons, allowing compact comparison of trends. The chart is rendered as SVG using D3 v6, with scales constructed via `scaleLinear` and `scalePoint`, and axes via `axisTop` and `axisLeft`. Data is loaded from a CSV file and preprocessed before being passed to a custom `HorizonChart` function that uses `d3.area` for the layered paths.
AI-generated descriptionMIT Licensed