Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 - Pie Chart

Public visualization

Viewing a saved revision (read-only)

460deb1774a543f88f968b545a323da3

ICE 7 - Pie Chart

0 stars0🌍 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