Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 pie chart Ar

Public visualization

Viewing a saved revision (read-only)

13e40eb4adaf4ce8bceadba69cd2a81f

ICE 7 pie chart Ar

0 stars1🌍 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