Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Page Title

Public visualization

Viewing a saved revision (read-only)

32c0876695844672b06300388652d6a3

Page Title

0 stars1🌍 Public
Iinu231
Last edited Nov 6, 2019
Created on Nov 6, 2019
Forked from Page Title

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 description