Activity 6 Question 2
✓ Published0🌍 Public
This interactive stacked bar chart displays annual values for four categories from 1995 to 2003, loaded from a CSV file. Radio buttons toggle between two animated transitions: the first highlights bars with a green stroke, while the second narrows each bar and shifts it horizontally with a red stroke. The visualization uses D3 v4’s `d3.stack`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.scaleOrdinal`, rendering shapes as SVG rectangles with `transition()` calls animating x, y, width, and stroke attributes.
AI-generated descriptionMIT Licensed