Mass Crime Map with circle size corresponding to crime/population ratio
This map of Massachusetts towns shows crime rates as circles overlaid on geographic boundaries, with circle size scaled to each town's crime-to-population ratio. Using React and D3 v5, the visualization projects GeoJSON features onto an SVG canvas via d3.geoPath with a geoAlbers projection, while d3.scaleSqrt maps crime rates to circle radii. Crime data comes from the FBI’s 2016 table, and geographical boundaries derive from MassGIS shapefiles converted to TopoJSON. Hovering reveals city, county, and exact crime rate in the tooltip.
AI-generated descriptionThis Map show Crime rate in different township of Massachusetts
original crime data is from FBI 2016 download from here
Geo Shape file are from here
The download Shape file did not contain coordination. Therefore, it is first converted to geojson by ogr2ogr
Geojson then reprocessed by mapshaper to Topojson.
Topojson file is loaded to Github gist
Crime data csv is loaded to gist
circle size is corresponding to the crime rate