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

06A Dense Bar Chart Where Bars Near the Pointer Widen Like a Fisheye Lens

It normalizes each of BAR_COUNT bars' original x by its distance from the pointer, pushes those inside FISHEYE_RADIUS_PX outward with a fisheye function of strength FISHEYE_POWER to redistribute widths, and eases back to even spacing when the pointer leaves.

Best forA yearly chart packed with daily records

BAR_COUNTFISHEYE_RADIUS_PXFISHEYE_POWER
A Dense Bar Chart Where Bars Near the Pointer Widen Like a Fisheye Lens
Open in a new tab

06 A Dense Bar Chart Where Bars Near the Pointer Widen Like a Fisheye Lens — Measured area 40.077% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Bar Chart Animation: 9 Demos From Spring to Race

The post this demo lives in

Bar Chart Animation: 9 Demos From Spring to Race - preview of all 9 demosBar Chart Animation: 9 Demos From Spring to RaceWhen bars jump straight to new values, the eye misses what grew. So 01 grows bars on a spring that overshoots once, 02 s See all demos in this post

If you like this effect - similar demos