Early accessFull site coming soon. Pro is $49.99 a year. See pricing ›

Nexus UI

Traffic Bars, animated React component

A stacked bar chart of daily visits by source: the column under your pointer is ringed, the others dim and a tooltip glides beside it with the breakdown. Switch Day to Week and every day's slices fly over and pile into their week.

  • Pro
  • Dashboards
  • Hover
  • Spring

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

TrafficLast 28 days
26,167visits
Visits by day
DayDirectSearchReferralTotal
Sep 2246939996964
Sep 23333254154741
Sep 24362281161804
Sep 25407353169929
Sep 265843351021,021
Sep 2728120087568
Sep 2825025851559
Sep 29562233109904
Sep 30470362149981
Oct 15414161201,077
Oct 260424379926
Oct 3480462831,025
Oct 4374253121748
Oct 5300278117695
Oct 65634291191,111
Oct 76634611971,321
Oct 85903851891,164
Oct 9478315154947
Oct 10465368157990
Oct 1143223766735
Oct 12395296142833
Oct 134174831101,010
Oct 145375221381,197
Oct 154394172221,078
Oct 16630291971,018
Oct 175395861671,292
Oct 18423311104838
Oct 19293295103691
DirectSearchReferral

Props

PropTypeDefaultWhat it does
theme"auto""auto" follows the page's .dark class; "light" or "dark" pins the card's palette.
colors["#0071e3", "#64d2ff", "#bf5af2"]Fill for the Direct, Search and Referral slices, bottom to top.
radius2Corner radius of each slice, in SVG units.
stagger12Delay between neighbouring days when the slices regroup, in ms.
autoplayfalseScrubs along the columns and flips Day/Week until someone interacts.