🌍 Public
Viewing a saved revision (read-only)
4a054b9a42674c9fa34c9d1b6c0f7d3b
ICE-7
This example shows a line chart of the highest nuclear energy consumption from 2010 to 2020, with the year on the x-axis and nuclear usage on the y-axis. The visualization uses D3 v5 to load CSV data, parse dates with `d3.timeParse`, and render an SVG with `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators. The chart includes labeled axes, red tick text, blue grid lines, and a brown stroke for the line path. The data is fetched from a GitHub gist.
AI-generated description