Skip to main content
100%

Line Chart

✓ Published1🌍 Public
Mmaddulanagasanjana@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from Line Chart

This line chart compares the growth of four global energy sources—solar, wind, hydro, and nuclear—in gigawatts (GW) from 2000 to 2022, using data from Sun_Wind_Energy.csv. Each source is rendered as a smooth monotone line with distinct pastel colors, and a legend identifies the series. The visualization uses D3.js v7 to load the CSV, generate SVG paths via the `d3.line` generator with `d3.curveMonotoneX`, and scales axes with `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft`. Light horizontal gridlines aid reading values across the increasing trends.

AI-generated description
MIT Licensed

Similar vizzes