Massachusetts safe town/city selector by county and community
This interactive visualization helps users identify the five safest towns or cities in Massachusetts by filtering crime data through dropdown menus for community type and county. The map displays crime rates as scaled circles overlaid on geographic boundaries, with hover tooltips showing city name, county, and crime percentage. Built with React and D3 v5, it uses `geoAlbers` projection with `geoPath` for map rendering, `scaleSqrt` for circle sizing, and loads data from Massachusetts crime statistics and TopoJSON geographic files.
AI-generated descriptionForked from Wenlei Cao, this 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.