Activity6_Task2
✓ Published2🌍 Public
A stacked horizontal bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating bands from below 5.0 to above 8.5. Using d3.stack and d3.scaleOrdinal, the chart maps the percentage data from CSV to colored segments with a tooltip that displays exact percentages on hover. The visualization relies on d3.axisBottom, d3.axisLeft, and d3.scaleBand for layout, and renders as SVG with a 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