Skip to main content
100%

Piechart_Jasvitha-ICE-7

✓ Published0🌍 Public
JJasvitha Allamsetty
Last edited Mar 26, 2023
Created on Mar 25, 2023
Forked from D3 Starter

This pie chart displays the top 10 baby names and their counts from a CSV dataset. The visualization renders an SVG pie chart with labeled arc values, colored segments using `scaleOrdinal` with `schemeTableau10`, and a legend that pairs name and number for each category. The code loads data via `d3.csv`, sorts it descending, and builds arcs with `d3.pie` and `d3.arc`. Hovering logs values to the console, and the layout uses `d3.select` and `d3.scaleOrdinal` for styling.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes