Crime Data Analysis - Top 15 Most Commonly Used Weapons
✓ Published0🌍 Public
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 descriptionMIT Licensed