Skip to main content
100%

Fork of Stacked bar chart of Yelp data: top cities

✓ Published5🌍 Public
AAndrew Petit
Last edited Oct 27, 2021
Created on Oct 27, 2021

The visualization displays the top food types in the top cities near Boston, excluding Boston itself, based on Yelp restaurant counts. It uses a stacked horizontal bar chart, with each city row segmented by cuisine type, rendered as SVG in D3. The chart employs `d3.scaleLinear` and `d3.scaleBand` for axes, and includes an interactive tooltip that reveals the specific food type and count on hover. Data is loaded from a CSV file, and the color scale is defined manually using `d3.scaleOrdinal`.

AI-generated description
MIT Licensed

Similar vizzes