Task-8-Tutorial-2
✓ Published1🌍 Public
This example visualizes IMDb movie ratings across genres using a stacked horizontal bar chart, showing the percentage distribution of ratings in categories like "5.0-6.5" and "above 8.5" for genres such as Documentary and Action. Built with D3 v7 and rendered as SVG, the chart uses `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` to position bars, with mouse events driving a tooltip that displays exact percentages. The data is loaded from a CSV file.
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