JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Diagrams and visualizations using Mermaid
Diagrams and visualizations using Mermaid
More
Share
Explore
Pie Chart
A pie chart (or a circle chart) is a circular statistical graphic, which is divided into slices to illustrate numerical proportion.
Syntax documentation
Syntax
Theme
:
default
title
Key elements in Product X
'Calcium'
:
42
.
96
'Potassium'
:
50
.
05
'Magnesium'
:
10
.
01
'Iron'
:
5
Creating a pie chart from a table
Name
Cost
Type
Name
Cost
Type
Buenos Aires - Madrid
$1,836.80
🛫 Flight
Orchard Hotel - London
$793.24
🏨 Accommodation
Le Petit Palu Opera - Madrid
$115.63
🏨 Accommodation
Marieta - Sevilla
$61.71
🏨 Accommodation
Wam - Carvoeiro
$481.31
🏨 Accommodation
Amos - Lisboa
$230.75
🏨 Accommodation
Porto - London
$96.89
🛫 Flight
Maria Amélia - Porto
$156.72
🏨 Accommodation
CityHub - Amsterdam
$642.15
🏨 Accommodation
Nesrin - Brussels
$400.29
🏨 Accommodation
Amsterdam - Copenhagen
$163.76
🛫 Flight
Copenhagen - Madrid
$314.32
🛫 Flight
London - Brussels
$235.00
🚆 Train
Madrid - Sevilla
$178.55
🚆 Train
Sevilla - Carvoeiro
$53.23
🚍 Bus
Carvoeiro - Lisboa
$22.19
🚍 Bus
Brussels - Amsterdam
$73.24
🚆 Train
Madrid
$92.00
🏨 Accommodation
Lisboa - Porto
$29.96
🚍 Bus
Payoneer
$673.81
🍽 Food & Drinks
BBVA VISA
$1,988.00
🍽 Food & Drinks
BBVA Master
$599.00
🍽 Food & Drinks
BBVA VISA
$606.00
🍽 Food & Drinks
There are no rows in this table
Type
Type
🛫 Flight
🏨 Accommodation
🚆 Train
🚍 Bus
🍽 Food & Drinks
There are no rows in this table
Syntax
Creating a pie chart from a table
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.