Skip to main content
100%

ICE 7 pie chart Ar

✓ Published1🌍 Public
Ccharchana0527@gmail.com
Last edited Oct 26, 2025
Created on Oct 24, 2025

This pie chart visualizes energy consumption by source, displaying six categories (Coal, Natural Gas, Hydro, Nuclear, Solar, and Wind) with their respective percentage contributions. Built with D3.js v7, it renders slices using the `d3.pie` and `d3.arc` APIs, with labels positioned via `labelArc.centroid`. A color-coded legend identifies each source, and the chart is styled with a white background and rounded corners. Data is loaded from a local CSV file containing two columns: Energy_Source and Consumption.

AI-generated description
MIT Licensed

Similar vizzes