Activity6_Task2
✓ Published1🌍 Public
A stacked horizontal bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segmented into five rating ranges from below 5.0 to above 8.5. The visualization uses D3.js v7 with the SVG rendering framework, employing `d3.stack`, `d3.scaleBand`, and `d3.axisBottom` to construct the chart. A tooltip, implemented with D3's selection and event handlers, displays the precise percentage for each genre-rating combination on mouseover. The proportional widths of each segment allow viewers to compare rating patterns across genres at a glance.
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