Platform
Resources
Pricing
Sign in
Get started
Fritz Lekschas
👋 I am computer scientist researching intelligent and scalable visualization systems for biomedical data exploration. Harvard CS PhD '21.
Workspace
Fork
Public
By
Fritz Lekschas
Edited
Nov 4, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
tree
=
treemap
(
hierarchicalData
)
Insert cell
treemap
=
d3
.
treemap
(
)
.
tile
(
d3
.
treemapBinary
)
.
size
(
[
width
*
devicePixelRatio
,
height
*
devicePixelRatio
]
)
.
padding
(
devicePixelRatio
)
.
round
(
true
)
Insert cell
hierarchicalData
=
d3
.
hierarchy
(
data
)
.
sum
(
(
d
)
=>
d
.
value
)
.
sort
(
(
a
,
b
)
=>
b
.
value
-
a
.
value
)
Insert cell
hierarchicalData2
=
d3
.
hierarchy
(
data
)
.
sum
(
(
d
)
=>
d
.
value
)
.
sort
(
(
a
,
b
)
=>
b
.
value
-
a
.
value
)
Insert cell
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
canvas
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
width
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
height
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
tree
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
treemap
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
hierarchicalData
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
hierarchicalData2
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML