activity 6_tutorial 2
✓ Published1🌍 Public
This stacked bar chart visualizes the distribution of IMDb movie ratings across different genres, showing the relative percentage of each genre falling into rating brackets from "below 5.0" to "above 8.5." The chart uses D3.js (v7) with SVG rendering, employing `d3.stack()` to create the stacked segments, `d3.scaleBand()` for the categorical genres, and `d3.scaleLinear()` for the percentage axis. Interactive tooltips display exact percentages on hover. The data comes from the included `data.csv` file, and the code uses D3's selection API and axis generation functions.
AI-generated descriptionMIT Licensed