🌍 Public
Viewing a saved revision (read-only)
9e825ef1b1ca49c28189f8971423d939
Activity 6_Task2
A stacked bar chart displays the percentage distribution of IMDb movie ratings across six genres, using a divergent color scale for five rating categories from "below 5.0" to "above 8.5". Hovering over any segment reveals an exact percentage via a tooltip. Built with d3.v7, the chart uses `d3.stack()` for stacking, `d3.scaleBand()` for genres, and `d3.scaleLinear()` for percentages, with data from the provided CSV. The SVG render includes axis labels, a title, and interactive mouseover events.
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.