🌍 Public
Viewing a saved revision (read-only)
d4d9a07b7fd4416cb98fdd39da9bfcb8
Activity8_Task2
This stacked bar chart visualizes IMDb movie ratings across six genres, showing the proportion of movies falling into five rating brackets from below 5.0 to above 8.5. Each horizontal bar represents a genre, segmented by rating category using d3.stack() and colored with a d3.scaleOrdinal. The visualization uses d3.axisBottom with tick lines to read percentages along the x-axis, while hover interactions via mouseover events display exact percentages through a tooltip. Data comes from a CSV file containing genre-specific rating distributions.
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.