Activity6-Task2
✓ Published0🌍 Public
A stacked bar chart shows the percentage distribution of IMDb ratings across six movie genres, with each bar segment representing a rating range from "below 5.0" to "above 8.5". The visualization reads data from a CSV file using d3.csv and renders SVG rectangles via d3.stack, d3.scaleBand for genres, and d3.scaleLinear for percentages. Interactive tooltips, implemented with d3.select and mouse event handlers, display exact percentages on hover.
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