Assignment 2 _Task2
✓ Published0🌍 Public
A stacked bar chart visualizes the distribution of ratings across six Korean TV shows, with each bar divided into five percentage categories. The chart uses D3 v7 to load CSV data, stack the categories with `d3.stack`, and render SVG rectangles scaled by `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis. Hovering over a segment triggers a tooltip showing the exact percentage. The data is sourced from `data.csv`, with colors assigned via `d3.scaleOrdinal`.
AI-generated descriptionMIT Licensed