Number of violent crimes in USA in 2015
✓ Published0🌍 Public
ZZijunXu
Last edited Sep 13, 2017
Created on Sep 12, 2017
This visualization displays the number of violent crimes reported in the United States in 2015, using horizontal bars to compare five crime categories: total violent crimes, aggravated assault, robbery, rape, and murder. Each bar is labeled with its exact count and percentage of the total. The chart is rendered as an SVG using D3 v4, with `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and appended text elements for labels and values. Data comes from FBI crime statistics, and the layout includes a title and margins defined in the code.
AI-generated descriptionHere is the source of the data. Number of violent crimes in the United States in 2015
The code of this bar chart was inspired by this.
Built with blockbuilder.org
mit Licensed