Fork of Question 2
✓ Published0🌍 Public
A horizontal stacked bar chart displays the percentage distribution of movie ratings across six categories, using color-coded segments for five rating bands. The visualization loads data from a CSV file and renders with SVG via D3 v7, employing `d3.stack()`, `d3.scaleLinear`, and `d3.scaleBand` for layout. Tooltips appear on mouseover, showing the exact percentage for each rating segment using `d3.format`.
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.
MIT Licensed