Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question2

Public visualization

Viewing a saved revision (read-only)

f29d8c7bfa7943f896b47d1d741ca1f2

Question2

0 stars0🌍 Public
Aaschowdary.shashi@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.