🌍 Public
Viewing a saved revision (read-only)
f29d8c7bfa7943f896b47d1d741ca1f2
Question2
This stacked bar chart visualizes the distribution of customer ratings across five service categories, with each bar segmented into proportions from "poor" to "excellent." The chart uses a horizontal layout with a linear x-axis for percentages and a categorical y-axis for services. It is built with D3 v7, leveraging `d3.stack`, `d3.scaleLinear`, `d3.scaleBand`, `d3.scaleOrdinal`, and `d3.axisBottom` to render the SVG. Hovering over any segment reveals a tooltip displaying the exact percentage for that rating category.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.