Fork of HTML Starter
This visualization shows global renewable energy production statistics by country and year, displaying average and maximum production values alongside a bar chart. The chart encodes each country-year combination on the x-axis with production in terawatt-hours on the y-axis, using hover effects to highlight individual bars. The implementation loads CSV data from a GitHub gist via `d3.csv`, computes summary statistics with `d3.mean` and `d3.max`, and renders an SVG bar chart using `d3.scaleBand` and `d3.scaleLinear` with `d3.axisBottom` and `d3.axisLeft`. The page is styled with CSS and built with D3.js v7.
AI-generated descriptionGlobal Renewable Energy Production Visualization
A D3.js data visualization project displaying renewable energy production statistics by country and year.
Features
- Interactive bar chart visualization
- Data summary with total records, average, and maximum renewable energy production
- Hover effects on bars for better interactivity
- Responsive design
Technologies
- D3.js v7.3.0
- HTML5
- CSS3
Author
Created by Md Saiful Islam for CSCE 5320 - ICE 5