🌍 Public
Viewing a saved revision (read-only)
762cd734cb4a43b5a0c4a40d9974c858
Activity6_Task2
This stacked bar chart visualizes IMDb movie ratings across six genres, showing the proportion of films in five rating brackets from below 5.0 to above 8.5. A tooltip displays the exact percentage for each rating segment on mouseover. Built with D3 v7, the visualization uses d3.stack() to compute the stacked series, d3.scaleBand for genre positioning, and d3.scaleLinear for percentage values, rendering as SVG with interactive hover effects that adjust opacity and reveal detailed data.
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.