Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6 Combined Chart (Bar + Line)

Public visualization

Viewing a saved revision (read-only)

0a02b9c8de5c4d02be1a3c8f4e88ed71

ICE-6 Combined Chart (Bar + Line)

0 stars1🌍 Public
Ppvvaishnavi93@gmail.com
Last edited Mar 8, 2026
Created on Mar 8, 2026

This combined bar and line chart visualizes renewable energy production from 2000 to 2182, showing solar energy as steelblue bars and wind energy as a red line with points on a shared axis. The code filters the dataset to every tenth year for clearer bar visibility, uses `d3.scaleBand` and `d3.scaleLinear` for the x and y axes, and renders gridlines, rotated tick labels, and a legend within an SVG. The visualization is built with D3 v7 in a React framework, with data loaded from a CSV file.

AI-generated description