Skip to main content
100%

Crime Data Analysis - Location type

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

This example visualizes crime incidents by location type, with each slice of the pie chart representing a category such as a street, residence, or business. The data is loaded from a CSV file hosted on GitHub Gist using d3.csv, and the pie layout (d3.pie) calculates the arc segments. The SVG rendering applies a categorical color scale (d3.scaleOrdinal with d3.schemeSet2) and labels each slice with its location type and count, while title text appears above the chart.

AI-generated description
MIT Licensed

Similar vizzes