🌍 Public
Viewing a saved revision (read-only)
f7ec4768b5f6473391a81bf9a9cde114
TAsk8 T2
This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, with each genre as a horizontal bar broken into five rating segments from below 5.0 to above 8.5. Hovering over a segment reveals a tooltip with the exact percentage for that rating category within the selected genre. The visualization is built using D3 v7, employing `d3.stack()`, `d3.scaleLinear()`, and `d3.scaleBand()` to construct coordinates, while the data comes from a local CSV file containing genre and rating percentage values, rendered as SVG rectangles.
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.