Page Title
✓ Published1🌍 Public
This example displays a multi-line chart tracking a single name's frequency across years, with each line representing a data group. The chart maps years on the x-axis and numeric counts on the y-axis, coloring each line distinctly using a categorical scale. Built with D3 v5, it uses `d3.nest()` to group data by name, `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and `d3.line()` to generate the path geometry. The data comes from an inline array of yearly name statistics, styled with CSS that removes page margins.
AI-generated descriptionMIT Licensed