Charts: examples and installation
Render data and Mermaid charts as ASCII, block or braille text for chat, terminal and web. Explore presets, copy text, or use the JavaScript library and CLI. The static view shows the Line preset; the interactive workbench opens a random dataset.
Line preset
Line
9 ┤ ⣠
│ ⡔⠁⢣
│ ⢀⠎ ⠈⢆
│ ⡠⠃ ⠘⡄
8 ┤ ⢠⡀ ⡔⠁ ⠸⡀
│ ⢀⠇⠈⠢⡀ ⢀⠎ ⢱
│ ⡜ ⠈⢢ ⡠⠃ ⢇
│ ⢰⠁ ⠑⢄ ⡔⠁ ⠈⡆
7 ┤ ⢀⠇ ⠑⢄ ⢀⠎ ⠘⡄
│ ⡜ ⠑⢄ ⡠⠃ ⠱⡀
│ ⢠⠃ ⠑⡄ ⡔⠁ ⢣
│ ⡎ ⠈⠢⡀ ⢀⠎ ⢇
6 ┤ ⡸ ⠈⠢⠃ ⠈⡆
│ ⢠⠃ ⠘⡄
│ ⡎ ⠱⡀
5 ┤ ⡠⡀ ⡸ ⢣
│ ⡠⠊ ⠑⡄ ⢠⠃ ⠈⢆
│ ⢀⠎ ⠈⢆ ⡎ ⠘⡄
│ ⢀⠔⠁ ⠣⡀ ⡸ ⠸⡀
4 ┤ ⢀⠔⠁ ⠑⡄ ⢠⠃ ⠱
│ ⢀⠔⠁ ⠈⢆ ⡎
│ ⡰⠁ ⠣⡀ ⢸
│ ⡠⠊ ⠑⡄ ⢀⠇
3 ┤⠠⠊ ⠈⢆ ⡜
│ ⠣⡀ ⢰⠁
│ ⠑⡄ ⢀⠇
│ ⠈⢆ ⡜
2 └┬──────────────┬───────────────⠳⠁─────────────┬──────────────┬───────────────┬──────────────┬
0 1 2 3 4 5 6
⠠⠤⠤ Revenue Mermaid / JSON source
{
"marks": [
{
"type": "line",
"data": [
3,
5,
2,
8,
6,
9,
4
],
"channels": {},
"options": {
"name": "Revenue"
}
}
],
"title": "Line"
}
pie
Portal traffic by channel
Social [8] · 8%─/───▌▌═══█████
Other [4] · 4%───‾ ▌▌▌▌▌═══████████
╱▌▌▌▌▌▌▌══██████████
╱╱╱╱▌▌▌▌▌══███████████
Partners [12] · 12%─────╱╱╱╱╱╱▌▌▌▌══████████████─────Search [34] · 34%
╱╱╱╱╱╱╱╱╱▌▌▌═█████████████
╱╱╱╱╱╱╱╱╱╱╱▌═█████████████
╱╱╱╱╱╱╱╱╱╱╱╱╱▌██████████████
▚▚▚▚▚▚▚▚▚▚▚▚▚▚░█████████████
▚▚▚▚▚▚▚▚▚▚▚▚░░░░░█████████
▚▚▚▚▚▚▚▚▚▚▚░░░░░░░░░██████
Email [18] · 18%─────▚▚▚▚▚▚▚▚▚░░░░░░░░░░░░███
▚▚▚▚▚▚▚░░░░░░░░░░░░░░░
▚▚▚▚▚░░░░░░░░░░░░░░░
▚▚░░░░░░░░░░░░░░
░░░░░░░░░░─────Direct [24] · 24%
█ Search [34] ░ Direct [24] ▚ Email [18]
╱ Partners [12] ▌ Social [8] ═ Other [4] Mermaid / JSON source
pie showData
title Portal traffic by channel
"Search" : 34
"Direct" : 24
"Email" : 18
"Partners" : 12
"Social" : 8
"Other" : 4
xychart
Portal orders and target
Orders (k)
100 ┤
│ ▆▆▆
│ ███
80 ┤ ▆▆▆ ⣀⣀⠤█
│ ▂▂▂ ⣀⣀⠤⠔⠒⠊⠉ ███
│ ⢀⣀⡠⠤⠔⠒⠊⠉ ███ ███
│ ▃▃▃ ⣀⣀⠤⠔⠒⠊⠉⠁███ ███ ███
60 ┤ ⢀⣀⡠⠤⠔⠒⠊⠉ ▇▇▇ ███ ███ ███
│ ⣀⣀⠤⠔⠒⠊⠉⠁ ███ ███ ███ ███ ███
│ ▂▂▂ ⢀⣀⡠⠤⠔⠒⠊⠉ ███ ███ ███ ███ ███ ███
40 ┤ ⣀⣀⠤⠔⠒⠊⠉⠁ ▅▅▅ ███ ███ ███ ███ ███ ███
│ ⣀⣀⠤⠔⠒⠊⠉ ███ ███ ███ ███ ███ ███ ███ ███
│ ▆⠠⠔⠒⠊⠉ ███ ███ ███ ███ ███ ███ ███ ███ ███
│ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
20 ┤ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
│ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
│ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
0 └────┬──────┬──────┬───────┬──────┬───────┬──────┬──────┬───────┬──────┬────
Jan Feb Mar Apr May Jun Jul Aug Sep Oct
█ Bar ⠠⠄⠤ Line Mermaid / JSON source
xychart-beta
title Portal orders and target
x-axis [Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct]
y-axis "Orders (k)" 0 --> 100
bar [28, 34, 43, 39, 52, 61, 58, 72, 81, 93]
line [30, 36, 42, 48, 54, 60, 66, 72, 78, 84]
sankey
█──╮ ╭──█──╮ ╭──█
█──┤ ├──█──┴─╮ ╭─┴──█
█──┤ ├──█────┼━━━━━━━ 30 ━━━━━━━┼────█
█──┴─╮ ╭─┴──█──┬─╯ ╰─┬──█
█────┤ ├────█──┤ ├──█
Search 50 █────┼━━━━━━━ 50 ━━━━━━━┼────█──╯ ╰──█
█────┤ ├────█ █
█──┬─╯ ╰─┬──█────╮ ╭──█ Paid 70
█──┤ ├──█────┼───── 20 ──────╮ ╭─┴──█
█──┤ ├──█──┬─╯ │ ├────█
█──╯ ╰──█──╯ │┏━┼────█
Browse 50 │┃ ├────█
│┃ ╰─┬──█
█──╮ ╭──█──╮ │┃ ├──█
█──┴─╮ ╭─┴──█──┤ │┃ ╰──█
Email 30 █────┼━━━━━━━ 30 ━━━━━━━┼────█──┴─╮ │┃
█──┬─╯ ╰─┬──█────┼━━━━━━ 40 ━━━━━│┛
█──┤ ╰──█──┬─╯ │ ╭────█
█──╯ █──┤ ╰──┼────█ Exit 20
╭────█──╯ ╰─┬──█
╭─┼────█ ╰──█
█────╮ │ ╰─┬──█──┬┄┄┄┄┄┄┄┄ 10 ┄┄┄┄┄┄┄┄╮
Direct 20 █────┼────── 20 ──────╯ ╰──█──╯ ┆
█──┬─╯ Checkout 50 ╰┄┬──█ Abandon 10
█──╯ ╰──█ Mermaid / JSON source
sankey-beta
Search,Browse,50
Email,Checkout,30
Direct,Checkout,20
Browse,Paid,30
Browse,Exit,20
Checkout,Paid,40
Checkout,Abandon,10
quadrantChart
Portal feature priorities
High value │ Build now │ Plan
│ │
│ Search Wallet
│ ⣤ │ ⠛
│ │
│
│ Roles │
│ ⠛ │
│ Login Mobile
│ ⠛ │ ⣤
│ │
│
│── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
│ │
│ Later Rethink
│ │
│ Themes │
│ ⣤ Chatbot
│ │ ⣤
│ │
│ Export
│ ⠛ │Badges
│ │ ⣤
│
Low value ─────────────────────────────────────────────────────────────────────
Low effort High effortMermaid / JSON source
quadrantChart
title Portal feature priorities
x-axis Low effort --> High effort
y-axis Low value --> High value
quadrant-1 Plan
quadrant-2 Build now
quadrant-3 Later
quadrant-4 Rethink
Search: [0.22, 0.86]
Login: [0.12, 0.64]
Roles: [0.42, 0.72]
Wallet: [0.72, 0.88]
Mobile: [0.88, 0.62]
Themes: [0.18, 0.28]
Export: [0.38, 0.14]
Chatbot: [0.76, 0.25]
Badges: [0.56, 0.08]
gantt
Customer portal release
Discovery
Interviews done ▄▄▄▄▄▄▄▄
Prototype done ▄▄▄▄▄▄▄▄▄▄▄▄
Sign off ●
Delivery
API active ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Dashboard active ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Integration crit ▄▄▄▄▄▄▄▄▄
Launch
Acceptance crit ▄▄▄▄▄▄▄▄
Runbook ▄▄▄▄▄▄▄▄▄▄▄
Go live ●
└───┬──────────┬──────────┬──────────┬───────────┬────────
Apr 07 Apr 11 Apr 15 Apr 19 Apr 23
Mermaid / JSON source
gantt
title Customer portal release
dateFormat YYYY-MM-DD
axisFormat %b %d
section Discovery
Interviews :done, research, 2026-04-06, 3d
Prototype :done, design, after research, 4d
Sign off :milestone, approved, after design, 0d
section Delivery
API :active, api, after approved, 5d
Dashboard :active, ui, after approved, 7d
Integration :crit, merge, after api ui, 3d
section Launch
Acceptance :crit, qa, after merge, 3d
Runbook :docs, after ui, 4d
Go live :milestone, after qa docs, 0d
radar
Portal delivery options
Speed
⣀
⡠⠔⠉⢸⠉⠢⢄
⡠⠔⠉ ⡠⠒⢹⠣⡀ ⠉⠢⢄
Support ⣀⠔⠉ ⢀⠤⠊ ⢸ ⠘⢄ ⠑⠢⣀ Cost
⣀⠔⠊ ⣀⠔⠁ ⢀⠤⠊⢹⠉⠢⢄⠣⡀ ⠑⠢⣀
⣔⡊ ⡠⠊ ⣀⠔⠊⠁ ⢀⣸⣀ ⠉⠺⣄ ⢑⣢
⡇⠈⠒⣔⠉⣀⠔⠊ ⢀⡠⠒⣁⢼⠤⠵⠤⡤⠤⠤⠷⡦⣤⠤⣤⠔⠁⢸
⡇ ⡇⢹⠢⢄⢀⣠⠶⠕⠊⠉ ⢸ ⠈⠑⢄⡀⣘⡔⡏⢸ ⢸
⡇ ⢸ ⡎ ⡏⠢⢄ ⢸ ⢀⠔⢺ ⡇⢱ ⡇ ⢸
⡇ ⢸ ⡇ ⢸⡇ ⠉⠢⣀ ⢸ ⢀⠤⠊⠁ ⢸ ⢱⢸ ⡇ ⢸
⡇ ⡸⢀⠇ ⡸⡇ ⢑⣺⣒⠁ ⢸ ⢸⠸⡀⢇ ⢸
⡇ ⡇⢸ ⡇⡇ ⢀⡠⠒⠁⢸ ⠑⠢⣀ ⢸ ⢸ ⡇⢸ ⢸
⡇ ⡇⢸ ⢠⠃⣇⡠⠒⠁ ⢸ ⠑⠢⣸ ⠈⡆⡇⢸ ⢸
⡇⢠⠃⡎⢀⠼⢎⡉⠑⠤⡀ ⢸ ⢀⡠⠊⠉⠑⠤⡇⢱⠘⡄⢸
⡇⢸⡤⠫⣁ ⠈⠢⡀⠈⠑⠤⡀⢸ ⡠⠒⠁ ⢀⡠⠊⢈⠝⢤⡇⢸
⠫⢅⠈⠑⠢⢕⣄ ⠈⠑⢄ ⠈⢹⠉ ⢀⠔⣁⡠⠮⠓⠉⠁⡨⠝
⠉⠢⢄ ⠈⠙⠢⣄⡀ ⠑⠢⣸⢀⣀⢤⠖⢋⡩⠊ ⡠⠔⠉
Scale ⠉⠢⢄⡀⠈⠚⢕⠢⢄⣸⡡⠊⢁⠔⠁ ⣀⠔⠉ Quality
⠈⠒⢄⡀⠑⠤⣸⡠⠒⠁⣀⠔⠊
⠈⠒⢄⣸⣀⠔⠊
⠈
Safety
⠠⠤⠤ A: Hosted ⠠⠤⠤ B: Custom ⠠⠤⠤ C: Hybrid Mermaid / JSON source
radar-beta
title Portal delivery options
axis speed["Speed"], cost["Cost"], quality["Quality"], safety["Safety"], scale["Scale"], support["Support"]
curve hosted["Hosted"] {9, 6, 7, 8, 9, 8}
curve custom["Custom"] {4, 8, 9, 7, 6, 5}
curve hybrid["Hybrid"] {7, 7, 8, 9, 8, 7}
min 0
max 10
graticule polygon
ticks 2
showLegend true
treemap
Engineering budget (kUSD)
┌─────────────────────────────────────────────────┬────────────────────────────┐
│ Product │ Platform │
├──────────────────────────┬──────────────────────┼───────────────┬────────────┤
│ Experience │ Services │ Cloud │ Data │
├──────────────┬───────────┼──────────────────────┤ 24 │ 20 │
│ Portal │ Mobile │ API │ │ │
│ 28 │ 22 │ 26 │ │ │
│ │ │ │ │ │
│ │ │ │ │ │
│ │ │ │ │ │
│ │ │ │ │ │
│ │ ├────────────┬─────────┤ │ │
│ │ │ Search │ Billing │ │ │
│ │ │ 18 │ 14 ├───────────────┴┬───────────┤
│ │ │ │ │ Security │ Tools │
│ │ │ │ │ 16 │ 12 │
├──────────────┴───────────┤ │ │ │ │
│ Design │ │ │ │ │
│ 16 │ │ │ │ │
│ │ │ │ │ │
└──────────────────────────┴────────────┴─────────┴────────────────┴───────────┘Mermaid / JSON source
treemap-beta
title Engineering budget (kUSD)
"Product"
"Experience"
"Portal": 28
"Mobile": 22
"Design": 16
"Services"
"API": 26
"Search": 18
"Billing": 14
"Platform"
"Cloud": 24
"Data": 20
"Security": 16
"Tools": 12
journey
First order experience
Discover
Find the store ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 4 Buyer
Compare plans ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 3 Buyer, Sales
Ask a question ▄▄▄▄▄▄▄▄▄▄ 2 Buyer, Support
Purchase
Create account ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 3 Buyer
Pay for order ▄▄▄▄▄▄▄▄▄▄ 2 Buyer, Payments
Get receipt ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 5 Buyer, Payments
Return
Track delivery ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 4 Buyer, Support
Reorder ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 5 Buyer, Sales
Mermaid / JSON source
journey
title First order experience
section Discover
Find the store: 4: Buyer
Compare plans: 3: Buyer, Sales
Ask a question: 2: Buyer, Support
section Purchase
Create account: 3: Buyer
Pay for order: 2: Buyer, Payments
Get receipt: 5: Buyer, Payments
section Return
Track delivery: 4: Buyer, Support
Reorder: 5: Buyer, Sales
timeline
Customer portal roadmap
Foundation
April │ - Customer interviews
│ - Prototype approved
May │ - API beta
│ - Account migration
Delivery
June │ - Private preview
│ - Feedback sessions
July │ - Public launch
│ - Support training
│ - Status page live
Growth
August │ - Mobile access
│ - Usage analytics
September │ - Team workspaces
│ - Regional rollout
Mermaid / JSON source
timeline
title Customer portal roadmap
section Foundation
April : Customer interviews : Prototype approved
May : API beta : Account migration
section Delivery
June : Private preview : Feedback sessions
July : Public launch : Support training : Status page live
section Growth
August : Mobile access : Usage analytics
September : Team workspaces : Regional rollout
packet
TCP header (20 bytes)
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
┌───────────────────────────────┬───────────────────────────────┐
│ Source port │ Destination port │
└───────────────────────────────┴───────────────────────────────┘
3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5 6 6 6 6
2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
┌───────────────────────────────────────────────────────────────┐
│ Sequence number │
└───────────────────────────────────────────────────────────────┘
6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9
4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
┌───────────────────────────────────────────────────────────────┐
│ Acknowledgment number │
└───────────────────────────────────────────────────────────────┘
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
9 9 9 9 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2
6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
┌───────┬───────┬───────────────┬───────────────────────────────┐
│ 1 │ 2 │ Flags │ Window size │
└───────┴───────┴───────────────┴───────────────────────────────┘
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5
8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
┌───────────────────────────────┬───────────────────────────────┐
│ Checksum │ Urgent pointer │
└───────────────────────────────┴───────────────────────────────┘
1. [96-99] Offset 2. [100-103] Reserved Mermaid / JSON source
packet-beta
title TCP header (20 bytes)
0-15: "Source port"
16-31: "Destination port"
32-63: "Sequence number"
64-95: "Acknowledgment number"
96-99: "Offset"
100-103: "Reserved"
104-111: "Flags"
112-127: "Window size"
128-143: "Checksum"
144-159: "Urgent pointer"
kanban
Portal sprint
┌───────────────────────┐ ┌───────────────────────┐ ┌────────────────────────┐
│ Ready │ │ In progress │ │ Done │
├───────────────────────┤ ├───────────────────────┤ ├────────────────────────┤
│ ┌───────────────────┐ │ │ ┌───────────────────┐ │ │ ┌────────────────────┐ │
│ │ Search filters │ │ │ │ Team login │ │ │ │ Usage charts │ │
│ │ #241 · Mia · High │ │ │ │ #238 · Liam │ │ │ │ #236 · Noah · Low │ │
│ └───────────────────┘ │ │ │ Very High │ │ │ └────────────────────┘ │
│ ┌───────────────────┐ │ │ └───────────────────┘ │ │ ┌────────────────────┐ │
│ │ CSV export │ │ │ ┌───────────────────┐ │ │ │ User profile │ │
│ │ #242 · Noah · Low │ │ │ │ Email alerts │ │ │ │ #231 · Liam · Low │ │
│ └───────────────────┘ │ │ │ #239 · Mia · High │ │ │ └────────────────────┘ │
│ ┌───────────────────┐ │ │ └───────────────────┘ │ │ ┌────────────────────┐ │
│ │ Audit log │ │ │ ┌───────────────────┐ │ │ │ Billing page │ │
│ │ #243 · Ava · High │ │ │ │ Access roles │ │ │ │ #232 · Ava · High │ │
│ └───────────────────┘ │ │ │ #235 · Ava · High │ │ │ └────────────────────┘ │
│ │ │ └───────────────────┘ │ │ │
└───────────────────────┘ └───────────────────────┘ └────────────────────────┘
Mermaid / JSON source
kanban
title Portal sprint
ready[Ready]
search[Search filters]@{ assigned: 'Mia', ticket: '241', priority: 'High' }
export[CSV export]@{ assigned: 'Noah', ticket: '242', priority: 'Low' }
audit[Audit log]@{ assigned: 'Ava', ticket: '243', priority: 'High' }
doing[In progress]
login[Team login]@{ assigned: 'Liam', ticket: '238', priority: 'Very High' }
alerts[Email alerts]@{ assigned: 'Mia', ticket: '239', priority: 'High' }
roles[Access roles]@{ assigned: 'Ava', ticket: '235', priority: 'High' }
done[Done]
charts[Usage charts]@{ assigned: 'Noah', ticket: '236', priority: 'Low' }
profile[User profile]@{ assigned: 'Liam', ticket: '231', priority: 'Low' }
billing[Billing page]@{ assigned: 'Ava', ticket: '232', priority: 'High' }
Bar
Bar
value
8 ┤ ███
│ ███
│ ███
│ ███
│ ███
6 ┤ ███
│ ███
│ ▄▄▄ ███
│ ███ ███
│ ███ ███
4 ┤ ███ ███
│ ███ ███
│ ▄▄▄ ███ ███
│ ███ ███ ███
│ ███ ███ ███
2 ┤ ███ ███ ███ ███
│ ███ ███ ███ ███
│ ███ ███ ███ ███
│ ███ ███ ███ ███
│ ███ ███ ███ ███
0 └─────────┬──────────────────┬──────────────────┬──────────────────┬──────────
Jan Feb Mar Apr
month
█ Sales Mermaid / JSON source
{
"marks": [
{
"type": "bar",
"data": [
{
"month": "Jan",
"value": 3
},
{
"month": "Feb",
"value": 5
},
{
"month": "Mar",
"value": 2
},
{
"month": "Apr",
"value": 8
}
],
"channels": {
"x": "month",
"y": "value"
},
"options": {
"name": "Sales"
}
}
],
"title": "Bar"
}
Area
Area
│ ▗█▖
│ ████▖
│ ▄ ▄██████▖
8 ┤ ▗███▖ ▗█████████▖
│ ▗██████▄ ████████████▖
│ ██████████▖ ▗██████████████▖
│ ██████████████ █████████████████▖
│ █████████████████▄███████████████████▖
6 ┤ ███████████████████████████████████████▖
│ ▗████████████████████████████████████████▖
│ ▄█▖ ▗██████████████████████████████████████████▖
│ ▗█████▄ ▗████████████████████████████████████████████▖
│ ▄█████████▖ ██████████████████████████████████████████████▖
4 ┤ ▗██████████████ ████████████████████████████████████████████████
│ ▄█████████████████▖ █████████████████████████████████████████████████
│██████████████████████ ▐█████████████████████████████████████████████████
│███████████████████████▖ ▗██████████████████████████████████████████████████
│█████████████████████████▄███████████████████████████████████████████████████
2 ┤█████████████████████████████████████████████████████████████████████████████
│█████████████████████████████████████████████████████████████████████████████
│█████████████████████████████████████████████████████████████████████████████
│█████████████████████████████████████████████████████████████████████████████
│█████████████████████████████████████████████████████████████████████████████
0 └┬────────────┬───────────┬────────────┬────────────┬───────────┬────────────┬
0 1 2 3 4 5 6
█ Traffic Mermaid / JSON source
{
"marks": [
{
"type": "area",
"data": [
3,
5,
2,
8,
6,
9,
4
],
"channels": {},
"options": {
"name": "Traffic"
}
}
],
"title": "Area"
}
Donut
Donut
Firefox · 15%─────▚▚▚▚▚▚▚███████
▚▚▚▚▚▚▚▚▚▚██████████
▚▚▚▚▚▚▚▚▚▚▚▚████████████
▚▚▚▚▚▚▚▚▚▚▚▚▚▚██████████████
░░░▚▚▚▚▚▚▚▚▚▚▚▚███████████████
░░░░░░░▚▚▚▚ ███████████
░░░░░░░░░ █████████
░░░░░░░░░ █████████
░░░░░░░░░ █████████
Safari · 20%─────░░░░░░░░ ████████
░░░░░░░░░ █████████
░░░░░░░░░ █████████
░░░░░░░░░ █████████
░░░░░░░████ ███████████
░░░███████████████████████████─────Chrome · 65%
████████████████████████████
████████████████████████
████████████████████
██████████████
█ Chrome ░ Safari ▚ Firefox Mermaid / JSON source
{
"marks": [
{
"type": "arc",
"data": [
{
"browser": "Chrome",
"share": 65
},
{
"browser": "Safari",
"share": 20
},
{
"browser": "Firefox",
"share": 15
}
],
"channels": {
"y": "share",
"fill": "browser"
},
"options": {
"innerRadius": 0.5
}
}
],
"title": "Donut"
}
Heatmap
Heatmap
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓████████████
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓████████████
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓████████████
PM ┤░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓████████████
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓████████████
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓████████████
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓
Noon ┤░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓
│░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓
│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒
│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒
│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒
AM ┤░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒
│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒
│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒
└──────┬───────────┬───────────┬───────────┬─────
Mon Tue Wed Thu
day
1 ░░▒▒▓▓██ 12
█ Activity Mermaid / JSON source
{
"marks": [
{
"type": "cell",
"data": [
{
"day": "Mon",
"hour": "AM",
"value": 1
},
{
"day": "Mon",
"hour": "Noon",
"value": 2
},
{
"day": "Mon",
"hour": "PM",
"value": 3
},
{
"day": "Tue",
"hour": "AM",
"value": 2
},
{
"day": "Tue",
"hour": "Noon",
"value": 4
},
{
"day": "Tue",
"hour": "PM",
"value": 6
},
{
"day": "Wed",
"hour": "AM",
"value": 3
},
{
"day": "Wed",
"hour": "Noon",
"value": 6
},
{
"day": "Wed",
"hour": "PM",
"value": 9
},
{
"day": "Thu",
"hour": "AM",
"value": 4
},
{
"day": "Thu",
"hour": "Noon",
"value": 8
},
{
"day": "Thu",
"hour": "PM",
"value": 12
}
],
"channels": {
"x": "day",
"y": "hour",
"fill": "value"
},
"options": {
"name": "Activity"
}
}
],
"title": "Heatmap"
}
Funnel
Funnel
████████████████████████████████████████████
████████████████████████████████████████████ Visits 10,000 100%
▝▜██████████████████████████████████████▛▘
▀██████████████████████████████████▀
▝▜████████████████████████████▛▘
▐████████████████████████████▌
▐████████████████████████████▌ Product view 4,200 42%
▀████████████████████████▀
▀████████████████████▀
▀████████████████▀
████████████████
████████████████ Add to cart 1,300 13% ↓ 31%
▝██████████████▘
▐████████████▌
▜██████████▛
▐██████████▌
▐██████████▌ Checkout 610 6% ↓ 47%
▝██████████▘
██████████
▐████████▌
▐████████▌ Purchase 420 4% ↓ 69%
Mermaid / JSON source
{
"marks": [
{
"type": "funnel",
"data": [
{
"stage": "Visits",
"count": 10000
},
{
"stage": "Product view",
"count": 4200
},
{
"stage": "Add to cart",
"count": 1300
},
{
"stage": "Checkout",
"count": 610
},
{
"stage": "Purchase",
"count": 420
}
],
"channels": {
"stage": "stage",
"value": "count"
}
}
],
"title": "Funnel"
}