Skip to main content
100%

Q1Task2

✓ Published0🌍 Public
Vvaishalireddy55555@gmail.com
Last edited Apr 15, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

A horizontal stacked bar chart displays the proportional breakdown of five rating categories for six named categories, sourced from a local CSV. The implementation uses D3 v7's `d3.stack` and `d3.scaleOrdinal` to generate SVG rectangles, with `d3.axisBottom` and `d3.axisLeft` for scales. Hover interactions reveal per-segment percentages via an HTML tooltip, while a color scale and axis labels clarify the distribution.

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.
MIT Licensed

Similar vizzes