🌍 Public
Viewing a saved revision (read-only)
e49d4047f7544de38c59029074a4b432
Task 8 - tutorial 2
A stacked bar chart shows the percentage distribution of IMDb ratings across six movie genres, with each bar divided into five rating brackets from below 5.0 to above 8.5. Hovering over any segment displays a tooltip with the exact percentage for that rating level within the genre. Built with D3 v7, the chart uses `d3.stack()` for data stacking, `d3.scaleOrdinal()` for color mapping, and `d3.scaleBand()` for the categorical y-axis. Data comes from a CSV file, and the visualization renders as SVG.
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.