Curva

Charts that move with your data

Animated chart components for shadcn/ui. Copy them into your project and own every line.

$npx shadcn@latest add https://curva.brunoribei.ro/all

Total revenue

$38,740

+12.4% vs last week

Revenue
Revenue
Mon$4,210
Tue$5,120
Wed$3,980
Thu$6,240
Fri$5,480
Sat$7,130
Sun$6,580

Bar charts

Side by side or stacked. Bars slide to their new slots, grow in from the baseline, and restack when a series leaves.

$npx shadcn@latest add https://curva.brunoribei.ro/bar-chart

Orders this week

1,623
Orders
Orders
Mon182
Tue214
Wed168
Thu251
Fri236
Sat298
Sun274

Revenue by channel, May to Oct

$518,800
Revenue by channel
Online storeMarketplaceIn personTotal
May$42,800$18,400$12,600$73,800
Jun$46,100$21,200$11,800$79,100
Jul$44,900$19,800$13,900$78,600
Aug$51,200$23,600$12,400$87,200
Sep$55,800$24,900$14,800$95,500
Oct$61,300$28,100$15,200$104,600

Donut and radial charts

Parts of a whole and progress toward goals. Rings pour in, segments reshape and make room, and the legend and center follow wherever you point.

$npx shadcn@latest add https://curva.brunoribei.ro/donut-chart

Revenue by category

Share of sales per category

Total

$0

0

Revenue by category
ValueShare
Apparel$12,40038%
Electronics$9,80030%
Home$6,20019%
Beauty$4,10013%

Monthly goals

Progress toward this month's targets

Average

0%

0

Monthly goals
ValueGoalProgress
Revenue$236,000$250,00094%
Orders8,1209,00090%
New customers36840092%

Beyond lines and bars

For numbers a line can't hold: a budget against its limit, the shape of a day, the busiest hours of the week, where the money went.

$npx shadcn@latest add https://curva.brunoribei.ro/gauge-chart

Monthly budget

The tick marks the plan; hover for what's left

Spent so far

$0

69% of $12,000

Orders by hour

The shape of a day, clockwise from midnight

Orders a day

0

0

Orders by hour
Value
12am4
1am2
2am1
3am1
4am0
5am2
6am9
7am22
8am31
9am26
10am34
11am58
12pm96
1pm88
2pm47
3pm33
4pm41
5pm72
6pm104
7pm97
8pm71
9pm44
10pm23
11pm11

Busiest times

Orders by weekday and hour; arrow keys walk the grid

Orders
10am11am12pm1pm2pm3pm4pm5pm6pm7pm8pm9pm
Mon2440807842262866851105132
Tue234583844626315889825328
Wed2146707845203261931105531
Thu254574634025336597835631
Fri21418477372636651291407231
Sat23357784442136911491228239
Sun24406779462630691361407628

Where the money went

$42,600
Expenses by category
ValueShare
Payroll$18,40043%
Ingredients$12,60030%
Rent$6,50015%
Marketing$3,2008%
Utilities$1,9004%

Flows, capsules and ranges

Bands that flow from stage to stage, capsules that single out one day, growth drawn in dots, and a histogram you brush to ask about any stretch of time.

$npx shadcn@latest add https://curva.brunoribei.ro/flow-chart

Revenue by channel

Dine-in, delivery and pickup, flowing quarter to quarter

Channel revenue by quarter
Dine-inDeliveryPickupTotal
Q1$41,200$18,600$9,800$69,600
Q2$45,800$22,400$11,200$79,400
Q3$43,100$27,900$12,600$83,600
Q4$49,600$31,800$14,100$95,500

Average ticket

The busiest day stands out; point at any other

Average ticket
Value
Mon$31.20
Tue$29.80
Wed$32.40
Thu$34.90
Fri$41.70
Sat$46.20
Sun$38.50

Loyalty growth

Two years, one dot at a time

Members
Members
Nov224
Dec259
Jan305
Feb365
Mar443
Apr544
May672
Jun833
Jul1,032
Aug1,270
Sep1,548
Oct1,862
Nov2,204
Dec2,560
Jan2,916
Feb3,258
Mar3,572
Apr3,850
May4,088
Jun4,287
Jul4,448
Aug4,576
Sep4,677
Oct4,755

Daily revenue

Sweep across the bars, drag the window or its handles, or use the arrow keys

Oct 3 to Oct 30: $203,940
Daily revenue
Value
Jul 3$4,994
Jul 4$6,234
Jul 5$4,378
Jul 6$4,035
Jul 7$3,793
Jul 8$4,687
Jul 9$4,042
Jul 10$5,569
Jul 11$5,948
Jul 12$6,027
Jul 13$4,374
Jul 14$3,719
Jul 15$4,326
Jul 16$5,263
Jul 17$6,675
Jul 18$5,396
Jul 19$5,317
Jul 20$5,377
Jul 21$4,705
Jul 22$3,827
Jul 23$4,400
Jul 24$7,766
Jul 25$6,778
Jul 26$4,892
Jul 27$4,241
Jul 28$5,211
Jul 29$4,529
Jul 30$4,433
Jul 31$5,774
Aug 1$7,216
Aug 2$5,167
Aug 3$4,853
Aug 4$4,374
Aug 5$4,700
Aug 6$4,058
Aug 7$7,662
Aug 8$7,002
Aug 9$5,328
Aug 10$4,416
Aug 11$5,666
Aug 12$5,223
Aug 13$4,253
Aug 14$6,795
Aug 15$8,622
Aug 16$6,609
Aug 17$4,326
Aug 18$4,826
Aug 19$6,088
Aug 20$5,648
Aug 21$6,365
Aug 22$6,978
Aug 23$7,288
Aug 24$5,635
Aug 25$4,497
Aug 26$4,650
Aug 27$5,912
Aug 28$7,951
Aug 29$7,044
Aug 30$5,540
Aug 31$5,638
Sep 1$5,233
Sep 2$5,303
Sep 3$5,119
Sep 4$7,691
Sep 5$7,163
Sep 6$6,928
Sep 7$5,632
Sep 8$4,975
Sep 9$4,671
Sep 10$6,201
Sep 11$8,828
Sep 12$6,862
Sep 13$5,995
Sep 14$6,525
Sep 15$6,430
Sep 16$5,009
Sep 17$5,182
Sep 18$9,713
Sep 19$9,590
Sep 20$6,148
Sep 21$5,200
Sep 22$6,698
Sep 23$6,624
Sep 24$5,066
Sep 25$7,316
Sep 26$9,466
Sep 27$7,766
Sep 28$5,171
Sep 29$5,317
Sep 30$6,221
Oct 1$6,196
Oct 2$8,168
Oct 3$8,490
Oct 4$6,999
Oct 5$5,858
Oct 6$6,138
Oct 7$6,420
Oct 8$5,434
Oct 9$8,018
Oct 10$9,588
Oct 11$8,324
Oct 12$5,432
Oct 13$5,285
Oct 14$6,984
Oct 15$7,337
Oct 16$8,383
Oct 17$8,016
Oct 18$8,637
Oct 19$7,568
Oct 20$5,956
Oct 21$5,590
Oct 22$7,219
Oct 23$11,029
Oct 24$8,611
Oct 25$6,650
Oct 26$7,049
Oct 27$7,458
Oct 28$5,743
Oct 29$5,986
Oct 30$9,738

Scorecards and funnels

Sparklines that hand their numbers to a headline, a radar for comparing, a waffle for dividing and a funnel for converting.

$npx shadcn@latest add https://curva.brunoribei.ro/sparkline

Revenue

+10.9%
$188,057

Total for the period

Orders

+8.3%
7,386

Total for the period

Average ticket

+2.6%
$27.19

Daily average

New customers

+12.5%
665

Total for the period

Location scorecard

Two kitchens, six things guests rate

Location scorecard
DowntownRiverside
Speed8664
Quality7888
Value7082
Service9172
Cleanliness8490
Ambience6286

Where orders come from

Each square is one percent

Orders by source
ValueShare
Website2,84034%
App2,21026%
Walk-in1,63020%
Phone7209%
Marketplace94011%

Online ordering

From the menu to a paid order; point at a stage to see who dropped

Ordering funnel
ValueOf previous stage
Visited menu12,480
Added to cart6,21050%
Started checkout3,94063%
Paid3,38086%

Operations dashboards

A period against the last with what changed, a day slot by slot, the days a store was taking orders, the leaders, the before and after, and how slow the slow end is.

$npx shadcn@latest add https://curva.brunoribei.ro/area-chart

Last 30 days

$178,325+11.7%

Against the previous 30 days, with what changed

Revenue
RevenuePrevious 30 days
Oct 3$6,300$6,252
Oct 4$5,862$5,735
Oct 5$5,076$4,885
Oct 6$5,109$4,825
Oct 7$5,056$4,730
Oct 8$4,942$4,623
Oct 9$6,310$5,929
Oct 10$6,211$5,869
Oct 11$5,584$5,299
Oct 12$4,745$4,502
Oct 13$4,879$4,590
Oct 14$5,046$4,705
Oct 15$5,198$4,822
Oct 16$6,788$6,317
Oct 17$6,793$6,370
Oct 18$6,117$5,810
Oct 19$5,193$4,919
Oct 20$5,163$4,830
Oct 21$5,178$4,723
Oct 22$5,277$4,624
Oct 23$7,121$5,956
Oct 24$7,418$5,936
Oct 25$6,934$5,409
Oct 26$6,079$4,650
Oct 27$6,151$4,761
Oct 28$6,125$4,880
Oct 29$6,017$4,981
Oct 30$7,550$6,443
Oct 31$7,419$6,453
Nov 1$6,684$5,852

A day, slot by slot

Online orders per pickup slot, slots that filled up, and the ASAP wait

Online orders

193

Slots full

7

Longest ASAP wait

30 min
Online orders and ASAP wait by pickup slot
Online ordersASAP wait
11:004
11:154
11:30514m
11:45616m
12:00820m
12:15325m
12:30429m
12:451330m
13:001126m
13:15720m
13:30413m
13:4518m
14:001
14:152
14:303
14:45314m
15:00214m
15:15111m
15:3009m
15:4508m
16:0019m
16:15310m
16:30312m
16:45312m
17:00212m
17:15112m
17:30314m
17:45518m
18:00923m
18:151226m
18:301328m
18:451428m
19:001328m
19:151228m
19:304
19:454
20:003
20:152
20:301
20:451
21:000
21:150
21:301
21:451

Taking orders

One bar per day, last 30 days

25 of 28 days without a pause

Taking orders at Downtown, last 30 days
StatusDetail
Oct 3Not recordedNot recorded yet
Oct 4Not recordedNot recorded yet
Oct 5Taking ordersTaking orders all day
Oct 6Taking ordersTaking orders all day
Oct 7Taking ordersTaking orders all day
Oct 8Taking ordersTaking orders all day
Oct 9Taking ordersTaking orders all day
Oct 10Taking ordersTaking orders all day
Oct 11Paused under 30 minPaused 12 min
Oct 12Taking ordersTaking orders all day
Oct 13Taking ordersTaking orders all day
Oct 14Taking ordersTaking orders all day
Oct 15Taking ordersTaking orders all day
Oct 16Taking ordersTaking orders all day
Oct 17Taking ordersTaking orders all day
Oct 18Taking ordersTaking orders all day
Oct 19Taking ordersTaking orders all day
Oct 20Taking ordersTaking orders all day
Oct 21Taking ordersTaking orders all day
Oct 22Paused 30 min or morePaused 1 h 32 min
Oct 23Taking ordersTaking orders all day
Oct 24Taking ordersTaking orders all day
Oct 25Taking ordersTaking orders all day
Oct 26Taking ordersTaking orders all day
Oct 27Paused under 30 minPaused 16 min
Oct 28Taking ordersTaking orders all day
Oct 29Taking ordersTaking orders all day
Oct 30Taking ordersTaking orders all day
Oct 31Taking ordersTaking orders all day
Nov 1Taking ordersTaking orders all day

What's selling

Items sold and their share

Items sold
ValueShare
Margherita41224%
Pepperoni38823%
Garlic knots30118%
Spicy honey26416%
Caesar salad18911%
Tiramisu1428%

Stores, week over week

Where each store was last week and where it is now

Average order by store, last week and this week
Last weekThis week
Downtown$27.40$29.10
Riverside$31.20$30.40
Midtown$24.80$26.90
Harbor$33.50$35.20
Airport$22.10$21.60
University$19.90$22.30

Page load

Time until the main content shows, judged at the slow end

Page load on mobile
TypicalSlowSlowest 10%Rating
Home1.8s2.4s3.6sGood
Menu2.3s3.1s4.8sNeeds work
Item1.4s1.9s2.9sGood
Cart1.1s1.5s2.2sGood
Checkout2.9s4.3s6.1sPoor
Order status1.2s1.7s2.6sGood

Morphs between datasets

Switch week to year and the curve reshapes in place, whatever the number of points.

Rides the curve

The active point glides along the line on a spring instead of jumping between values.

Your theme, your code

Reads the shadcn/ui tokens and installs as source you own, not a package you wrap.

Accessible by default

Arrow keys walk the data, values are announced, and reduced motion is respected.