Skip to main content
100%

Chicago Crime Dataset Analysis

✓ Published1🌍 Public
Ssrrajendran
Last edited Nov 7, 2018
Created on Oct 17, 2018

This visualization presents a bar chart of Chicago crime data, ranking offense types by their recorded counts, with THEFT and BATTERY as the most frequent. The bars are color-coded and rendered as SVG using D3.js v5, with axes created via d3.axisLeft and d3.axisBottom. The code includes reusable modules for a dropdown menu and color legend, though the current renderer focuses on the bar chart. The data is loaded from a CSV file and processed with d3.csv, with scales built using d3.scaleLinear and d3.scaleBand.

AI-generated description

Bar graph displaying the higher crime by various crime type category

MIT Licensed

Similar vizzes