🌍 Public
Viewing a saved revision (read-only)
097d7ff76f574238a2eaa390c886d830
Activity_6 Task 2
This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, with each bar segment representing the percentage of titles falling into one of five rating brackets. Data is drawn from the `data.csv` file, rendered as SVG rectangles using D3.js v7's stacked bar API (`d3.stack()`) and band scale for the y-axis. Hovering over a segment reveals a tooltip showing the exact percentage for that rating level within the genre, aiding comparison of rating patterns across genres like Documentary and Action.
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.