Fork of Activity 6_task 2
✓ Published0🌍 Public
A stacked horizontal bar chart displays the distribution of IMDb movie ratings across six genres, using percentages from the bundled CSV data. The chart uses D3 v7's `d3.stack`, `d3.scaleBand`, and `d3.scaleOrdinal` to render five rating categories per genre with a custom color scale. Hovering over a bar segment triggers a tooltip via mouse events, showing the exact percentage for that rating segment. Axes are formatted with `d3.axisBottom` and `d3.axisLeft`, while styled tick text and labels come from external CSS.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed