Activity6_Tutorial2
✓ Published0🌍 Public
This chart shows the distribution of IMDb movie ratings across six genres, displayed as a horizontal stacked bar chart where each bar represents a genre and each colored segment corresponds to a rating range from "below 5.0" to "above 8.5". The proportions are normalized to percentages, making it easy to compare how ratings concentrate within each genre. The visualization uses D3 v7 with a `d3.stack()` operation to create the stacked bars, `d3.scaleOrdinal` for color mapping, and `d3.scaleBand` for the y-axis categories. An SVG canvas renders the chart, and mouse events trigger tooltips that display the exact percentage for each segment, using data from the included CSV file.
AI-generated descriptionImbd movie ratings
MIT Licensed