Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Script Test

Public visualization

Viewing a saved revision (read-only)

5f3735920ccd485ea641427b5220caf5

Fork of Script Test

0 stars0🌍 Public
Ppavan vasamsetti
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Script Test

This pie chart displays the top 10 countries by GDP per capita in 2007, using a donut-style presentation with a color-coded legend. The visualization loads data from a CSV file via `d3.csv` and renders SVG paths using `d3.pie` and `d3.arc`. It employs `d3.scaleOrdinal` for color assignment and `d3.format` to display percentage values and abbreviated monetary figures in the legend.

AI-generated description