Task-7 Q2
✓ Published1🌍 Public
This stacked bar chart visualizes the distribution of IMDb star ratings (1 to 5 stars) across seven movie genres, with each bar segment representing the percentage of ratings for that genre. Built with D3 v7, the visualization uses `d3.stack()` to compute the stacked segments, `d3.scaleBand()` for the categorical y-axis, and `d3.scaleLinear()` for the percentage x-axis. Interactive tooltips display exact percentages on mouseover, while the data is loaded from a CSV file and rendered as SVG with a custom color scheme.
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