Platform
Resources
Pricing
Sign in
Contact us
recifs
Fil’s live coding experiments
Workspace
Fork
Public
2 collections
By
Fil
Edited
Nov 3, 2023
2 stars
1
Plot Support
Stacked bars with total
Quantize legend ticks
D3 contours and Plot spatial interpolators
Dodge values
Plot: bars and line
Spectrum plotter basic
HTML tips (without tippy)
Plot: extended interval (#1824)
Format y
Kitten
Shifted / centered time bars
Plot: custom color channel in interactive tips
Streaming FlatGeobuf with Plot
Chart with a marginal histogram
Old faithful: density plot with a side rug
Dodge text
Reading dates
White House tweets heatmap
Midpoint transform
Flow-based cartograms (Gastner, Seguy & More, 2018)
A trend line for counts over time
Plot sample transform
Create an average line in Plot
A centered title
Plot 0.6.0
Band scale tickSize
Also listed in…
Support
Insert cell
Insert cell
Insert cell
ca55
=
FileAttachment
(
"ca55-south.csv"
)
.
csv
(
{
typed
:
true
}
)
Insert cell
Insert cell
Plot
.
contour
(
ca55
,
{
x
:
"LONGITUDE"
,
y
:
"LATITUDE"
,
fill
:
"MAG_IGRF90"
,
interpolate
:
"barycentric"
,
blur
:
2
}
)
.
plot
(
{
color
:
{
type
:
"diverging"
}
}
)
Insert cell
Insert cell
m
=
200
Insert cell
n
=
150
Insert cell
Insert cell
x
=
d3
.
scaleLinear
(
d3
.
extent
(
ca55
,
(
d
)
=>
d
.
LONGITUDE
)
,
[
0
,
m
-
1
]
)
Insert cell
X
=
ca55
.
map
(
(
d
)
=>
x
(
d
.
LONGITUDE
)
)
Insert cell
y
=
d3
.
scaleLinear
(
d3
.
extent
(
ca55
,
(
d
)
=>
d
.
LATITUDE
)
,
[
n
-
1
,
0
]
// 🎃 reversed because latitude is pointing UP, and SVG is pointing down.
)
Insert cell
Y
=
ca55
.
map
(
(
d
)
=>
y
(
d
.
LATITUDE
)
)
Insert cell
V
=
ca55
.
map
(
(
d
)
=>
d
.
MAG_IGRF90
)
Insert cell
Insert cell
gridded
=
Plot
.
interpolatorBarycentric
(
)
(
d3
.
range
(
V
.
length
)
,
m
,
n
,
X
,
Y
,
V
)
Insert cell
Insert cell
Insert cell
blurred
=
d3
.
blur2
(
{
width
:
m
,
height
:
n
,
data
:
gridded
}
,
1
)
Insert cell
Insert cell
contoursg
=
d3
.
contours
(
)
.
size
(
[
m
,
n
]
)
(
blurred
.
data
)
Insert cell
Insert cell
contours
=
contoursg
.
map
(
(
{
coordinates
,
...
rest
}
)
=>
(
{
coordinates
:
coordinates
.
map
(
(
polygon
)
=>
polygon
.
map
(
(
ring
)
=>
ring
.
map
(
(
d
)
=>
[
x
.
invert
(
d
[
0
]
)
,
y
.
invert
(
d
[
1
]
)
]
)
)
)
,
...
rest
}
)
)
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
Listed in...
Support
recifs
Plot Support
recifs
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ca55
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
m
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
n
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
x
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
X
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
y
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Y
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
V
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
gridded
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
blurred
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
contoursg
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
contours
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML