Crime Data Analysis - Location type
✓ Published0🌍 Public
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 descriptionMIT Licensed