Activity6_Task2_Q2
✓ Published0🌍 Public
This stacked bar chart displays the distribution of movie ratings across five Prabhas films (Saaho, RadheShyam, Adipurush, Salaar, and Kalki2898AD), broken down by percentage ranges from 1.0-2.0 to 4.0-5.0. Each bar segment uses a distinct color from a categorical scale, with tooltips showing exact percentages on hover. The chart loads data from a CSV file using D3 v7, employs `d3.stack()` for stacking, `d3.scaleBand()` and `d3.scaleLinear()` for axes, and renders as SVG with an interactive 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