Activity6_Task2
✓ Published0🌍 Public
This stacked bar chart displays the distribution of IMDb movie ratings across six genres, showing the percentage of titles falling into five rating brackets from below 5.0 to above 8.5. Each horizontal bar breaks down a genre's total into colored segments corresponding to rating ranges, with tooltips revealing exact percentages on hover. The visualization uses D3 v7's `d3.stack()` and `d3.scaleOrdinal()` for data aggregation and color mapping, rendered as SVG with `d3.axisBottom` for the percentage axis and a custom tooltip built from HTML divs. Data comes from the provided CSV file, where each row represents a genre's proportions across rating categories.
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