🌍 Public
Viewing a saved revision (read-only)
28e600d540254cc193e6874ceead32d7
Fork of Pie Chart
This fork of a pie chart displays the percentage breakdown of U.S. energy consumption sources, using data from a CSV file. It shows the proportional slices for petroleum, natural gas, renewables, coal, and nuclear, with a legend to the right. The visualization is built using D3's `pie`, `arc`, and `select` APIs to generate and render the SVG paths. A `scaleOrdinal` color scheme from `schemeSet2` distinguishes the categories, and the chart is centered within an SVG canvas.
AI-generated description