🌍 Public
Viewing a saved revision (read-only)
20d841e076e64469acbfcfbbd29c8129
58. D3 Duration Slow Labels Fixed
A bar chart displays twenty data values as vertical bars with numeric labels. Clicking the text triggers a five-second transition that updates the bars and labels with new data. The visualization uses D3 v4.5.0 with `scaleBand` for the x-axis, `scaleLinear` for the y-axis, and `transition().duration(5000)` to animate both `rect` heights and `text` positions. The labels move and change numbers smoothly alongside the bars, demonstrating coordinated transitions across SVG elements.
AI-generated description