🌍 Public
Viewing a saved revision (read-only)
8e74261d52454bb28a55f32ebde3ab38
Activity 6_Question 3
A stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, with each bar partitioned into five rating categories from below 5.0 to above 8.5. The chart uses a CSV dataset and D3.js v7 with SVG rendering, employing scales such as `d3.scaleLinear` for the x-axis and `d3.scaleBand` for genres. A tooltip appears on mouseover, displaying the genre and percentage, while a legend identifies color-coded rating brackets. The animation is limited to tooltip transitions.
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.