Task2 of Activity 6
✓ Published0🌍 Public
A stacked horizontal bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating brackets from below 5.0 to above 8.5. The chart uses d3.stack to compute the stacked series and d3.scaleOrdinal with a custom color palette for the rating categories. Interactive tooltips display the exact percentage for each genre-rating segment on mouseover, using d3.select and event handlers. Data is loaded from a local CSV file and rendered 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.
MIT Licensed