Skip to main content
100%

Fork of React & D3 Starter

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

This example shows a multi-series line chart of renewable energy production (solar, wind, and hydro) over time, from 2000 to 2182, using data from a CSV file. It renders three colored lines, each with small data-point circles, plus axes, gridlines, labels, and a legend. The code builds an SVG using React and D3 v7, employing `d3.csv`, `d3.scaleLinear`, `d3.line`, `d3.axisBottom`, `d3.axisLeft`, and `d3.max` to create the visualization.

AI-generated description
MIT Licensed

Similar vizzes