Skip to main content
100%

ICE 7 - Pie Chart

✓ Published0🌍 Public
BBaswa Sathvika Reddy
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from HTML Starter

This pie chart displays crime rates across ten U.S. states, with each slice labeled by state name and accompanied by a legend showing the corresponding count. Built with D3.js v3, the visualization uses `d3.layout.pie` to compute arc segments, `d3.svg.arc` for rendering the donut shape, and `d3.scale.category20` for slice colors. State names appear as text labels positioned via `arc.centroid`, while a separate legend group lists each state with its count. The chart is rendered as SVG, with styling applied through HTML elements.

AI-generated description
MIT Licensed

Similar vizzes