Skip to main content
100%

Fork of Making an Interactive Pie Chart

✓ Published0🌍 Public
NNarayana Reddy
Last edited Mar 24, 2021
Created on Mar 24, 2021

This donut chart displays the proportional breakdown of income sources, with three colored segments labeled Sales, Dividends, and Interest. Hovering over a slice reveals a tooltip showing its percentage of the total amount. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.sum` to calculate and render the arcs. Data is loaded from a CSV file, and the SVG elements are manipulated directly to create the chart and interactive tooltip.

AI-generated description
MIT Licensed

Similar vizzes