Activity6_Task2
✓ Published0🌍 Public
This visualization shows the distribution of IMDb movie ratings across six genres, using stacked horizontal bars to display the percentage of movies falling into five rating categories. The data comes from a CSV file and is rendered as SVG using D3.js v7. The code employs `d3.stack()` to create stacked series, `d3.scaleOrdinal` for color mapping, and `d3.scaleBand` with `d3.scaleLinear` for positioning. Interactive tooltips display exact percentages on hover, while axes and labels are generated using `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionMIT Licensed