Fork of Pie Chart
✓ Published0🌍 Public
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 descriptionMIT Licensed