🌍 Public
Viewing a saved revision (read-only)
a2c72b78bb5c4e5e8e436c1d91ce544d
Small multiple line chart in D3
This small multiple line chart displays the average daily cigarette consumption for smokers across eight countries between the years 2000 and 2010, using data from the CORGIS smoking dataset. Each country’s time series is rendered as a separate line within a small SVG panel, with a shared y-axis scale, while a categorical color legend distinguishes the countries. The visualization is built with D3 v7, using `d3.csv` for data loading, `d3.scaleLinear` for axes, `d3.line` for path generation, and `d3.legendColor` for the color key. The color palette comes from ColorBrewer, and the overall layout follows a referenced small-multiple line chart pattern.
AI-generated description