Platform
Resources
Pricing
Sign in
Get started
ikesau
mappy mappy joy joy
Workspace
Fork
Public
By
ikesau
Edited
Jun 14, 2024
2
Insert cell
Insert cell
users.csv
Filter
Columns
Sort
Slice
Save
Type Table, then Shift-Enter. Ctrl-space for more options.
Insert cell
country-by-continent.json
Filter
Columns
Sort
Slice
Save
Type Table, then Shift-Enter. Ctrl-space for more options.
Insert cell
join
=
{
return
u
.
map
(
(
row
)
=>
{
const
match
=
c
.
find
(
(
x
)
=>
x
.
country
===
row
.
Country
)
;
if
(
match
)
{
return
{
...
row
,
...
match
}
;
}
return
row
;
}
)
;
}
Insert cell
join
Filter
Columns
Sort
Slice
Save
Type Table, then Shift-Enter. Ctrl-space for more options.
Insert cell
join
SELECT continent, SUM(Users) AS sum FROM "join" GROUP BY continent;
Insert cell
Plot
.
plot
(
{
marginLeft
:
50
,
marks
:
[
Plot
.
barY
(
aggregate
,
{
x
:
"continent"
,
y
:
"sum"
}
)
]
,
x
:
{
label
:
"Continent"
}
,
y
:
{
label
:
"Sum"
}
}
)
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
u
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
File attachments
users.csv
CSV
country-by-continent.json
JSON
Databases
Filter
Column
Operator
Columns
Sort
Column
Direction
Descending
Ascending
Slice
From
Start
To
End
c
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
File attachments
users.csv
CSV
country-by-continent.json
JSON
Databases
Filter
Column
Operator
Columns
Sort
Column
Direction
Descending
Ascending
Slice
From
Start
To
End
join
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
Cells
join
File attachments
users.csv
CSV
country-by-continent.json
JSON
Databases
Filter
Column
Operator
Columns
Sort
Column
Direction
Descending
Ascending
Slice
From
Start
To
End
aggregate
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
Cells
join
File attachments
users.csv
CSV
country-by-continent.json
JSON
Databases
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML