🌍 Public
Viewing a saved revision (read-only)
57c874f5ed934189b3e436b3ee1431b9
Untitled
Three interactive bar charts show employment rates for female and male groups across three Olympic years. Buttons for 2008, 2012, and 2016 trigger updates that transition the bars with a 1000-millisecond animation using D3 v6’s `transition()` method. The SVG chart uses `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for the y-axis, and a data join pattern with `enter`, `merge`, and `exit` selections to handle changes. The page loads D3 from a CDN inside a React wrapper.
AI-generated descriptionReact Starter code.