Skip to main content
100%

Untitled

✓ Published0🌍 Public
Mmandu427
Last edited Dec 18, 2020
Created on Dec 18, 2020
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes