Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-7 PieChart 11590101

Public visualization

Fork of ICE-7 PieChart 11590101

0 stars0🌍 Public
Ggaddamthanmayeereddy759@gmail.com
Last edited Mar 26, 2024
Created on Mar 26, 2024

This pie chart visualizes the net worth of the top 10 billionaires in the world, using data from a CSV file loaded via the D3.js `csv` function. The chart displays each billionaire's name and net worth in billions, with colored slices and value labels positioned using the `arc.centroid` method. A legend on the right pairs each color swatch with the corresponding name and net worth figure. The visualization uses D3 v5’s `pie` and `arc` generators, with `scaleOrdinal` for color mapping and `format` for tick label formatting, rendering as SVG elements.

AI-generated description

This is a Pie chart

Comments

Sign in to join the discussion.

MIT Licensed