Skip to main content
100%

Crime Data Analysis - Top 15 Most Commonly Used Weapons

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

This chart displays the 15 most frequently used weapons in a crime dataset as a horizontal bar chart. Longer bars indicate higher weapon usage counts, with each bar labeled by weapon name and its total count. The visualization is built with D3.js version 7, loading CSV data from a GitHub Gist. The code counts weapon occurrences, sorts them, and renders the top 15 using SVG rectangles, with d3.scaleBand and d3.scaleLinear defining the axes.

AI-generated description
MIT Licensed

Similar vizzes