moving bars
✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 9, 2017
Created on Mar 9, 2017
Animated SVG bar chart demonstrates a sequence of shape morphing transitions with D3 v4 and p5.js. Fifteen rectangular bars representing numeric values reorder horizontally, stack vertically, transform into horizontal length bars, then return to their original vertical positions with color interpolating from blue to red using d3.interpolateHcl and d3.scaleLinear. The transitions use chained `transition.attr` calls with varying delays and durations from a time scale, while the dataset is hardcoded as an array.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/jblrse/'>jblrse</a>'s block: <a href='http://bl.ocks.org/jblrse/e2d0aafd1d87d64a4de40e929c3723aa'>moving bars</a>
mit Licensed