🌍 Public
Viewing a saved revision (read-only)
fa340de2e7c345e28be54a034077c732
Activity6_Task2
This stacked bar chart visualizes the percentage distribution of IMDb rating levels across six movie genres, showing how genre impacts ratings. Each horizontal bar represents a genre, segmented into five rating categories from “below 5.0” to “above 8.5,” with a total of 100%. Hovering over a segment displays a tooltip with the exact rounded percentage for that rating level. The chart uses d3.stack for data stacking, d3.scaleOrdinal with a custom color palette, d3.scaleLinear and d3.scaleBand for axes, and SVG rendering from a CSV data source.
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.