Skip to main content
100%

Fork of Path Animation

✓ Published0🌍 Public
Llhbhb21c
Last edited Mar 17, 2022
Created on Mar 17, 2022
Forked from Path Animation

This visualization displays personal body weight data over time for a single individual, with the y-axis representing weight in kilograms and the x-axis representing dates. Two smoothed line paths are rendered from the dataset, each colored differently to distinguish between weight series. A slider control animates two circles moving along these paths, using `path.getPointAtLength` to track progress from the beginning to the end of each line. The chart is built with D3 v5, using `scaleTime`, `scaleLinear`, `scaleOrdinal`, and `curveBasis` to generate the SVG paths and axes.

AI-generated description

This data cames from personal annotation of body weight.

MIT Licensed

Similar vizzes