Fork of Racing Bar Chart Animation Test
✓ Published0🌍 Public
A racing bar chart animates six ranked entries—alpha through foxtrot—as their values incrementally grow by ten meters per tick. The React component uses a custom `useInterval` hook to trigger state updates every 750 milliseconds, while D3's `scaleBand` and `scaleLinear` position bars and labels. Each transition runs over 750 milliseconds via `transition.attr`, re-sorting the array by value before rendering. The visualization highlights dynamic ranking changes and iterative data updates within an SVG canvas.
AI-generated descriptionFollowing along with Muri's Bar Chart tutorials.
This covers:
- Attempting a racing bar chart
- Understanding custom react hook UseInterval
- useInterval Github
MIT Licensed