🌍 Public
Viewing a saved revision (read-only)
51489c500bd544d7a5146fe26dc151a9
Stacked bar Assignemnt 2
This stacked bar chart compares the number of dishes for ten food types across ten Massachusetts cities, excluding Boston. It uses a vertical layout with horizontal bars, where each city is a row and colored segments represent cuisine counts. The visualization includes an interactive tooltip that displays the specific food type and count on hover. Built with D3 and the `d3-scale-chromatic` library, the chart renders as an SVG and uses `scaleLinear` and `scaleBand` for axes, with `scaleOrdinal` for color mapping.
AI-generated description