Skip to main content
100%

Crime Data - Crime Type Occurence Analysis

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

This bar chart displays the number of occurrences for each crime type in a dataset, with rotated labels along the x-axis to accommodate longer category names. The visualization uses D3.js v7 to load a CSV file via `d3.csv`, aggregate counts with JavaScript objects, and render the chart as SVG. It employs `d3.scaleBand` and `d3.scaleLinear` for positioning, along with `d3.axisBottom` and `d3.axisLeft` to generate axes. The chart includes a title and axis labels, showing that theft or similar categories likely dominate the distribution.

AI-generated description
MIT Licensed

Similar vizzes