nteractive Pie Charteew
✓ Published0🌍 Public
This interactive donut chart visualizes income sources (Sales, Dividends, Interest) with their corresponding amounts. The chart uses D3 v5’s `pie` and `arc` generators to create the donut slices, with `scaleOrdinal` mapping category colors. Hovering over a slice increases opacity and displays a tooltip showing the percentage of total income. Data is loaded from a CSV using `csv`, and the tooltip follows the mouse position, with the percentage computed via `sum`.
AI-generated descriptionMIT Licensed