Skip to main content
100%

DynamicChart_Animated

✓ Published0🌍 Public
JJoelGallagher
Last edited Oct 31, 2018
Created on Oct 31, 2018

Five student records switch between math and science scores with a simple bar chart built from div elements. Clicking the Math or Science buttons triggers a transition that smoothly resizes each bar’s width to match the selected subject’s value. The chart uses D3 v4’s data join with a key function on student names, merging enter and update selections for animated width changes via `selection.transition()`. Styled with teal CSS bars, the visualization demonstrates basic data binding and animated updates without axes or scales.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/JoelGallagher/'>JoelGallagher</a>'s block: <a href='http://bl.ocks.org/JoelGallagher/7f0f20044fe8ddfd8a13244163a6ff8e'>Entererer</a>

mit Licensed

Similar vizzes