Skip to main content
100%

Fork of Bar plot of Yelp data: top cities

✓ Published0🌍 Public
Ssumukh-bharadwaj
Last edited Nov 11, 2021
Created on Nov 11, 2021

A horizontal bar chart ranks the ten cities in Greater Boston with the most Yelp restaurants rated four stars or above. Boston leads with over 1,000 entries, followed by Cambridge, Somerville, and Newton. Data comes from a CSV file derived from the public Yelp dataset, and is rendered as SVG using D3 v5. The code employs `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart, with axis labels and a title styled via external CSS.

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