🌍 Public
Viewing a saved revision (read-only)
4d8e79ee717a430381d1cec6f8cf2afb
Activity8_Task2
A stacked horizontal bar chart shows the percentage distribution of IMDb movie ratings across six genres, with each bar segmented into five rating brackets from below 5.0 to above 8.5. Built with D3 v7 and rendered as SVG, the visualization uses `d3.stack()` to compute the stacked series and `d3.scaleOrdinal` with a custom color palette to distinguish rating categories. Tooltips display exact percentages on mouseover, while axis labels and a title clarify the chart's purpose. Data comes from the provided CSV file.
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.