Skip to main content
100%

Line (using curveCardinal)

✓ Published1🌍 Public
Ppcsong33
Last edited Jan 31, 2020
Created on Jan 26, 2020
Forked from HTML Starter

A line chart uses a cardinal spline to connect six predefined data points across an SVG canvas. The d3.line generator with the curveCardinal interpolation produces a smooth, curved path through the points, which are also marked as circles on the chart. The rendering relies on D3 v4’s selection and attribute methods to assign the generated path data to the SVG path element.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes