Skip to main content
100%

Mass Crime Map with circle size corresponding to crime total count

✓ Published0🌍 Public
Wwenleicao
Last edited Oct 27, 2019
Created on Oct 13, 2019

This map shows the total crime count for each township in Massachusetts, with circle size proportionally scaled to the crime total using d3.scaleSqrt. The visualization combines town boundary paths rendered via d3.geoPath with a d3.geoAlbers projection, overlaid with crime data points positioned by longitude and latitude. Tooltips display city name, county name, and formatted crime counts. The crime data originates from FBI 2016 statistics, while geographic boundaries come from MassGIS shapefiles converted to Topojson. The visualization is built with React, D3 v5, and SVG rendering.

AI-generated description

This Map show Crime total 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 crime total

MIT Licensed

Similar vizzes