Skip to content
Playing (one loop, recorded in the browser) · 2.3 KB gzipped · 1.3 % CPU while playing, 0 % off screen
Chart that builds, light
Light
Chart that builds, dark
Dark

Every state

  • Chart that builds, default, light
    Chart that builds, default, dark

    default

  • Chart that builds, traffic, light
    Chart that builds, traffic, dark

    traffic

  • Chart that builds, orders, light
    Chart that builds, orders, dark

    orders

Props

PropTypeDefaultWhat it does
titlestring–Metric name in the card header
periodstring–Period shown in the header chip
valuenumber–The big number counted up in the header
prefixstring–Written before the number and the axis labels, e.g. $
deltastring–Change against the previous period
datanumber[]–The series, 5 to 14 values
previousnumber[]–The same span one period earlier, drawn dashed
legend[string, string]–Legend names: this period, the previous one
xLabelsstring[]–Five labels under the axis
hoverIndexnumber–Which point the tooltip lands on
hoverDatestring–Date shown in the tooltip
accentstring–Pulse and highlight colour: a token like var(--chart-2) or any CSS colour
labelstring–Screen-reader description of the whole visual
stillboolean–Show the end state only, never animate

More analytics

All 4
visual-analytics-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans