Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with Multiples Lines - By Year

Public visualization

Line Chart with Multiples Lines - By Year

0 stars0🌍 Public
RRubens
Last edited Jan 25, 2020
Created on Nov 18, 2018

The visualization displays personal body weight measurements over time, segmented into individual annual series that are overlaid on a single chart. Each year's data forms a separate multi-hued line, allowing year-over-year comparison of weight fluctuations. Built with D3 v5, the code uses `scaleTime` and `scaleLinear` for the axes, `nest()` to group entries by person and year, and `line()` with `curveBasis` to generate smooth paths. The data is parsed from a CSV and rendered as SVG, with a categorical color legend for each year.

AI-generated description

This data cames from personal annotation of body weight.

Comments

Sign in to join the discussion.

MIT Licensed