Skip to main content
100%

ICE-6 Combined Chart (Bar + Line)

✓ Published1🌍 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
MIT Licensed

Similar vizzes