{"version":"v1.0","client_state":{"Studio.default":{"fields":{"primary":"#8a4a1f","secondary":"#3a52b0","success":"#2f9e64","warning":"#f0a91b","error":"#e5484d","info":"#0e9bc4","background":"#fafafa","surface":"#ffffff","interface":"#f0f0f1","text":"#171717","muted":"#6b6b6e","d_primary":"#9e5e34","d_secondary":"#566dc7","d_success":"#2f9e64","d_warning":"#f0a91b","d_error":"#e5484d","d_info":"#0e9bc4","d_background":"#0a0a0a","d_surface":"#151515","d_interface":"#212121","d_text":"#f5f5f5","d_muted":"#a0a0a3","spacing":0.25,"space_box":0.25,"space_gap":0.25,"box":0.625,"field_":0.5,"selector":0.25,"stroke":1.0,"font":"ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"},"persist":"local","send_to_server":true},"ColorScheme.default":{"fields":{"mode":"system"},"persist":"local","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"4b07d6b8076a06039bdf96131446801d","page_id":"8948feb306e4461897cdf744171cbec3","address":""}
ui.bar_chart

Bar chart

Compare categories at a glance: grouped, stacked or sideways, with targets drawn in and a click that runs Python.

A revenue card

Pairs of (label, value) are enough. y_format takes a function when the shorthands (abbreviated, percent, currency) do not fit.
Revenue

$399.8k

+18.2% vs last year
$0k$20k$40k$60k$80kJanFebMarAprMayJunJulAug
CategoryValue
Jan$38k
Feb$42k
Mar$47k
Apr$44k
May$53k
Jun$58k
Jul$56k
Aug$61k

Grouped, against a target

One Series per group. Pin a colour on the baseline so the current period stands out, and draw the goal as a reference line. A click on the legend hides a series.
Weekly orders

8,387

Target met 2 weeks of 6
0500100015002000Weekly target (1400)W27W28W29W30W31W32
Category20262025
W2712401080
W2813851150
W2913101210
W3015021190
W3116201305
W3213301290

On its own scale

y_max keeps a score out of 10 on a 0–10 axis, x_label and y_label name the axes, and show_data folds the numbers under the chart.
Team satisfaction survey
Score out of 10
0246810SupportSalesProductFinanceOperations
Team
Show the data
TeamScore out of 10
Support8.6
Sales7.9
Product7.1
Finance6.4
Operations5.8

Stacked

Stacking shows the total and what it is made of.
Paying workspaces by plan

1,008

050010001500Q1Q2Q3Q4
Starter
Pro
Enterprise
CategoryStarterProEnterprise
Q141023642
Q246828151
Q350233463
Q454739071

Share of 100%

stacked_100 compares the mix of each category, whatever its size.
Ticket sentiment by channel
020406080100EmailLive chatPhoneCommunity
Positive
Neutral
Negative
CategoryPositiveNeutralNegative
Email41223098
Live chat68819061
Phone2059658
Community13116427

A horizontal ranking

Long labels read better on rows than on a slanted axis.
Top pages · last 30 days
05k10k15k20k18.4k14.2k9.9k6.1k4.6k2.2k/pricing/docs/quickstart/blog/launch-week/changelog/integrations/careers
CategoryValue
/pricing18.4k
/docs/quickstart14.2k
/blog/launch-week9.9k
/changelog6.1k
/integrations4.6k
/careers2.2k

A click that runs Python

on_item_click receives the bar's label and value. The state changes on the server and the detail card follows. From the keyboard: Tab to the chart, the arrows, Enter.
Revenue by region · click a bar
$0k$50k$100k$150k$200kNorth AmericaEuropeAsia-PacificLatin America
CategoryValue
North America$182k
Europe$122k
Asia-Pacific$65k
Latin America$31k
North America

$182.4k

2,140 accountsStrongest quarter since launch.