Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Act7Question1

Public visualization

Viewing a saved revision (read-only)

0e227879af23471a8b6948813bab2ca0

Act7Question1

0 stars0🌍 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