Massachusetts safe town/city selector by county and community
This interactive map of Massachusetts filters towns and cities by county and community type, displaying the five lowest crime rates as purple circles over an SVG geographic projection. Users select from dropdown menus, which update the map through React state. The visualization uses D3 v5’s `geoAlbers` projection, `geoPath`, and `scaleSqrt` for circle sizing, with crime data from a 2016 Massachusetts dataset and geographic outlines from TopoJSON.
AI-generated descriptionThis viz aims to help people choose area based on crime rate at different Massachusetts communities (city, suburb, rural) and counties.
User can choose desired county or community, then top 5 safest city/town (low crime rate) will show at the map (please note: not all town has the data, some county could have less than 5 city/town data )
Data based on: Masschusetts Crime dataset for 2016.