Skip to main content
Public

Share visualization

Loading preview…

Scatter plot of Yelp data: review counts vs. stars

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Scatter plot of Yelp data: review counts vs. stars

3
MMing Liu
Last edited Sep 29, 2021
Created on Sep 14, 2021
Forked from D3 Scatter Plot

This scatter plot shows review counts versus star ratings for top-rated restaurants in Greater Boston, drawn from Yelp’s public dataset. It reveals that restaurants with more reviews tend to have slightly lower ratings, as the data clusters at 4, 4.5, and 5 stars. The visualization uses D3 v6 to load CSV data from a GitHub Gist, then creates an SVG with scaleLinear, axisLeft, axisBottom, and circle marks. Each point is rendered as a red semi-transparent circle with a fixed radius, supporting overlapped points.

AI-generated description

Scatter plot of Yelp data: review counts vs. stars

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 scatter plot shows number of reviews versus ratings on Yelp among these top-rated restaurants in GB.

X axis is the rate of restaurants based on Yelp stars, it can be 4, 4.5, 5.
Y axis is number of reviews.

This dataset is not optimal to be visualized by scatter plot, but at least there is a trend that the more reviews, the relatively lower rates as people always have different opinions.

*This is a part of week 3 assignmnet: Visualize your Data

Comments

Sign in to join the discussion.

MIT Licensed