Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7

Public visualization

ICE-7

0 stars0🌍 Public
Ppreethamkesa
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ICE-7:Line Chart

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

Comments

Sign in to join the discussion.

MIT Licensed