GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02Turning a legend off regrows the other bars

Pressing a legend chip folds that series down to the baseline, then the remaining maximum is recomputed and every other bar grows taller at once.

Best forChannel comparison charts with three or more series to isolate

aria-pressed@propertytransform-origin
Turning a legend off regrows the other bars
Open in a new tab

02 Turning a legend off regrows the other bars — Measured area 8.599% · moving frames 11/23Original by GODRICH · SCSS and React ship in the zip · Chart UI Design: 9 Interactions You Can Drag

The post this demo lives in

Chart UI Design: 9 Interactions You Can Drag - preview of all 9 demosChart UI Design: 9 Interactions You Can DragChart UI design earns its keep once a reader can put a hand on it. All nine run on CSS bars and inline SVG with no chart See all demos in this post

If you like this effect - similar demos