Skip to main content
100%

Upload Yelp data

✓ Published1🌍 Public
MMing Liu
Last edited Sep 29, 2021
Created on Sep 8, 2021

This example displays a minimal text summary of the uploaded Yelp dataset for Greater Boston, showing the file size, row count, and column count in a large violet font. Using D3 v5, the code fetches a CSV file from a GitHub gist via `d3.csv` and processes the parsed tabular data with `d3.csvFormat` and `data.columns` to extract metadata. The visualization itself does not map or plot the restaurant data, instead serving as a load-check for the raw dataset.

AI-generated description

Top restaurants in Greater Boston area

The original dataset is from public Yelp dataset.

The data used here is filtered on top-rated restaurants in Greater Boston (GB) area. Top-rated restaurants are defined as 4 stars or above.

Variables of interest:

Name Type Description
city categorical City
stars quantitative Stars on Yelp
categories categorical Type of foods

Possible questions:

  • Overall top restaurants distribution on a map.
  • Which cities in MA have most top restaurants?
  • Among top restaurants, what types of food are more than others?

*This is a part of week 2 assignment: Load Your Data

MIT Licensed

Similar vizzes