Platform
Resources
Pricing
Sign in
Get started
Templates /
Plot: Stacked percentages
Sign up to use template
Observable
The end-to-end solution for building and hosting better data apps, dashboards, and reports.
Workspace
Public
Edited
Feb 26, 2024
3 forks
1 star
Insert cell
Insert cell
Plot
.
plot
(
{
x
:
{
percent
:
true
}
,
marks
:
[
Plot
.
barX
(
alphabet
,
Plot
.
stackX
(
{
x
:
"frequency"
,
fillOpacity
:
0.3
,
inset
:
0.5
}
)
)
,
Plot
.
textX
(
alphabet
,
Plot
.
stackX
(
{
x
:
"frequency"
,
text
:
"letter"
,
inset
:
0.5
}
)
)
,
Plot
.
ruleX
(
[
0
,
1
]
)
]
}
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML