Skip to main content
100%

Crime Data Analysis - Top 10 Crime Status

✓ Published0🌍 Public
VVinay Vemuri
Last edited Jul 27, 2023
Created on Jul 27, 2023
Forked from Hello VizHub

This pie chart displays the top 10 crime statuses from a CSV dataset, showing their relative proportions with labels that include percentages. The chart is built using D3.js v7, which loads the data via `d3.csv`, counts occurrences of each status, sorts them, and slices the top 10. `d3.pie` generates the arc data, while `d3.arc` creates the SVG paths and labels. A `d3.scaleOrdinal` with the `schemeCategory10` palette assigns colors to each slice.

AI-generated description
MIT Licensed

Similar vizzes