Skip to main content
100%

Fork of Bar plot of Yelp data: top cities

✓ Published0🌍 Public
UUgin
Last edited Nov 12, 2021
Created on Nov 12, 2021

This horizontal bar chart ranks the top ten cities in Greater Boston by the number of highly-rated Yelp restaurants (4 stars or above), with Boston leading at 1,011 entries. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map counts and city names, while `axisLeft` and `axisBottom` render the chart’s axes. Data is loaded from a CSV file containing aggregated counts for each city.

AI-generated description

Bar chart of Yelp data: top cities

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 graph shows the top 10 cities with best restaurants in GB.
X axis is the number of best restaurants
Y axis is top 10 cities.

*This is a part of week 4 assignment: Create a Visualization that's Not a Scatter Plot

MIT Licensed

Similar vizzes