Fork of Map of top-rated restaurants in Greater Boston
This choropleth map shows the distribution of top-rated restaurants (4 stars or higher) across Greater Boston municipalities from the public Yelp dataset, with darker reds indicating higher counts and grey representing areas without data. Users can zoom and pan via d3.zoom and hover over towns to see tooltips with names and restaurant counts. The visualization uses d3.geoPath with a geoIdentity projection to render TopoJSON town boundaries, and a d3.scaleThreshold color scale to encode counts. A linearGradient legend labels the number of restaurants.
AI-generated descriptionYelp data map
The original dataset is from public Yelp dataset.
The data used for this visualization is filtered on top-rated restaurants in Greater Boston (GB) area. Top-rated restaurants are defined as 4 stars or above.
This map shows top restaurants distributions in GB area. Colors represents number of restaurants. Grey color is no data area, and red colors are cities with data (in Greater Boston area). A deeper red means a higher amount of top-rate restaurants. This is an interactive map that you can zoom in and hover over the cities of interests, and then the names and the numbers of restaurants will be shown in the tooltips.