🌍 Public
Viewing a saved revision (read-only)
463aee08af0246cf95da4e6adb25b1f0
Activity6
This stacked bar chart displays the percentage distribution of IMDb rating levels across movie genres, with each genre represented as a horizontal bar. The visualization uses D3.js version 7 to render SVG elements, employing `d3.stack()` and `d3.scaleOrdinal` for color mapping. Interactive tooltips appear on hover, showing precise percentages for each rating category using `event.pageX` and `event.pageY` positioning. The chart reads from a local CSV file and includes axis labels and a title for context.
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.