Platform
Resources
Pricing
Sign in
Contact us
Claudio Nicoli Pannacci
italian agender person (e/ir) who was able to see outside the italian cultural bubble and eventually managed to escape to sweden
Workspace
Fork
Published
Hexagonal Grid
By
Claudio Nicoli Pannacci
Edited
Feb 27, 2022
Hexagonal Grid
Hexagonal Heatmap
Hexagonal Grid
Insert cell
Insert cell
Insert cell
Insert cell
hexgrid
(
{
width
:
width
,
height
:
width
*
0.58
,
rows
:
20
,
columns
:
30
,
fill
:
(
d
,
i
)
=>
colors
[
i
]
}
)
Insert cell
Insert cell
Insert cell
hexgrid
(
{
width
:
width
,
height
:
width
*
0.18
,
rows
:
4
,
columns
:
30
,
fill
:
(
d
,
i
)
=>
d3
.
interpolateViridis
(
i
/
(
4
*
30
-
1
)
||
0
)
,
rotate
:
true
}
)
Insert cell
Insert cell
hexgrid
(
{
width
:
width
,
height
:
width
*
Math
.
sqrt
(
3
)
/
2
,
rows
:
100
,
columns
:
100
,
fill
:
(
d
,
i
)
=>
d3
.
interpolateMagma
(
Math
.
floor
(
Math
.
random
(
)
*
7
+
1
)
/
8
)
}
)
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
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
colors
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML