Stacked bars

A stacked bar chart for React with a hover tooltip. It shows a month of visits, and as you run along the bars one day is ringed while a tooltip glides beside it, with a Day and Week switch that regrows the bars. Bar count and gap are adjustable. Suited to analytics dashboards, admin panels and reports.

Stacked bars, at rest

Hover · free, with full source

Stacked bars props

NameTypeDefaultDescription
colourstring"Colour"Colour. One of Mono, Colour.
barsnumber20How many days or weeks the chart shows. From 12 to 30.
gapnumber6pxThe air between bars; it gives way before a bar gets thinner than 3px. From 2 to 6px.

Free under MIT. Licence

More blocks

More hover blocks