Skip to main content
100%

nteractive Pie Charteew

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

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 description
MIT Licensed

Similar vizzes