Skip to main content
100%

ICE7_PIE CHART

✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from D3 Starter

This pie chart visualizes the top 10 states in India with the highest accident-related deaths, sized by the number of fatalities. The D3 v5 code loads data from a CSV URL, uses `d3.pie` and `d3.arc` to generate the chart’s segments, and applies `d3.scaleOrdinal` for color mapping. Each slice is labeled with its death count, and a custom legend lists the state names alongside their corresponding values. The visualization is rendered as an SVG element with a 960x500 canvas.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes