Stacked bar Assignemnt 2
✓ Published0🌍 Public
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 descriptionMIT Licensed