Skip to main content
100%

multi series line chart

✓ Published1🌍 Public
Hharshithamiriyam@gmail.com
Last edited Mar 8, 2026
Created on Mar 7, 2026
Forked from React & D3 Starter

This multi-series line chart visualizes three measurements from the Iris dataset—sepal length, sepal width, and petal length—across the dataset’s rows. Each series is rendered as a distinct colored path (red, blue, green) using D3’s `line` generator, with `scaleLinear` mappings for x and y axes. The React component appends an SVG via `d3.select` and loads data asynchronously with `csv`, then adds axis labels and a legend. The chart uses D3 v7 with axes created via `axisBottom` and `axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes