Skip to main content
100%

Act7Question1

✓ Published0🌍 Public
Rrishikareddy181@gmail.com
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Hello VizHub

This example shows the distribution of income across five quintiles, from lowest to highest, using a pie chart. The visualization renders an SVG with D3.js v6, employing `d3.pie()` and `d3.arc()` to generate the chart’s slices, while `d3.scaleOrdinal` assigns colors. Each slice displays its quintile label and percentage value, and a legend on the right identifies the categories. The data is hardcoded in the script, not loaded from an external file.

AI-generated description
MIT Licensed

Similar vizzes