Activity6_Task2
✓ Published0🌍 Public
This visualization shows the percentage distribution of IMDb movie ratings across five genres, broken into five rating categories. The stacked horizontal bar chart displays the proportion of each genre's movies that fall into rating brackets from below 5.0 to above 8.5, using a color scale to distinguish each rating segment. The code uses D3.js (d3.v7) to read CSV data, applies d3.stack() for the stacked layout, and uses d3.scaleLinear and d3.scaleBand for the x and y axes. Interactive tooltips appear on mouseover, showing the exact percentage for a specific genre and rating category, while the SVG rendering and custom CSS styles define the visual presentation.
AI-generated descriptionMIT Licensed