Skip to main content
100%

US population versus crime number

✓ Published0🌍 Public
RRuofan Chen
Last edited Sep 28, 2021
Created on Sep 15, 2021
Forked from Hello VizHub

This scatter plot shows the linear relationship between US population and total violent crime numbers from 2015 to 2019, using FBI data. The x-axis maps population and the y-axis maps crime counts, with each circle representing a year. The visualization uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisLeft and d3.axisBottom to render ticks. SVG circles are drawn with an opacity of 0.5 to show overlapping points, and the plot adapts to the full window size via window.innerWidth and window.innerHeight.

AI-generated description

Data

This scatter plot uses total violent crime data. The original data is collected from FBI's website. This data records all violent crimes reported to FBI from 2015 to 2019 and the population.

Description

This scatter plot shows the linear relationship between the population and the number of crimes. The x-axis represents population,y-axis represents number of crimes. As the population grows, so does the number of crimes.

MIT Licensed

Similar vizzes