Platform
Resources
Pricing
Sign in
Contact us
Hongtao Hao
Workspace
Fork
Public
By
Hongtao Hao
Edited
Jun 9, 2023
Insert cell
Insert cell
penguins
Insert cell
Plot
.
barY
(
penguins
,
{
x
:
"island"
,
y
:
"frequency"
}
)
.
plot
(
)
Insert cell
Plot
.
rectY
(
penguins
,
Plot
.
binX
(
{
y
:
"count"
}
,
{
x
:
"body_mass_g"
}
)
)
.
plot
(
)
Insert cell
// Try fill:"sex"
Plot
.
dot
(
penguins
,
{
x
:
"culmen_length_mm"
,
y
:
"culmen_depth_mm"
,
stroke
:
"sex"
}
)
.
plot
(
)
Insert cell
Plot
.
plot
(
{
color
:
{
legend
:
true
}
,
marks
:
[
Plot
.
dot
(
penguins
,
{
x
:
"culmen_length_mm"
,
y
:
"culmen_depth_mm"
,
stroke
:
"species"
}
)
]
}
)
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML