🌍 Public
Viewing a saved revision (read-only)
4f9ac039c4d5466ca17822bc20218389
Fork of task 8 question 2
This stacked bar chart displays movie genre ratings as horizontal bars, segmented by genre category (Action, Adventure, Comedy, Drama) across five rating types. Each bar segment shows the percentage share via a hover tooltip. Built with D3 v7, the visualization uses `d3.stack`, `d3.scaleLinear`, `d3.scaleBand`, and `d3.axisLeft` to render SVG rectangles, with data from a local CSV file.
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.