Activity 6_Task-2
✓ Published0🌍 Public
A stacked bar chart displays the distribution of IMDb ratings across six film genres, with each bar segmented into five rating categories from below 5.0 to above 8.5. The visualization uses D3 v7’s `d3.stack`, `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to render SVG rectangles, with interactive tooltips showing exact percentages on mouseover. Data comes from a local CSV file, and the chart includes axes, a title, and a color legend.
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