Platform
Resources
Pricing
Sign in
Contact us
Machines Reading Maps
Workspace
Fork
Unlisted
By
Katie McDonough
Edited
Jan 14
1 fork
1
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
map-metadata-compact (2).csv
Filter
Columns
Sort
1
Slice
Save
Type Table, then Shift-Enter. Ctrl-space for more options.
Insert cell
mapMetadataCompact
Clear All
Swap X/Y
Customize
X
date
Y
—
Color
—
Size
—
Facet X
—
Facet Y
—
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.
Insert cell
Plot
.
plot
(
{
marks
:
[
Plot
.
rectY
(
mapMetadataCompact
,
Plot
.
binX
(
{
y
:
"count"
}
,
{
x
:
"date"
,
tip
:
true
}
)
)
,
Plot
.
ruleY
(
[
0
]
)
]
}
)
Insert cell
mapMetadataCompact
Clear All
Swap X/Y
Customize
X
date
Y
—
Color
—
Size
—
Facet X
—
Facet Y
—
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.
Insert cell
Insert cell
mapMetadata
=
FileAttachment
(
"map-metadata-compact (2).csv"
)
.
csv
(
{
typed
:
true
}
)
Insert cell
mapMetadata
Insert cell
Insert cell
viewof
search_metadata
=
Inputs
.
search
(
mapMetadata
,
{
placeholder
:
"Search Map Metadata"
}
)
Insert cell
search_metadata
// See results below!
Insert cell
viewof
rows
=
Inputs
.
table
(
search_metadata
)
Insert cell
###
Full Text Search of Title Field Only
Insert cell
Insert cell
Insert cell
viewof
maxDaterows
=
Inputs
.
table
(
search_title
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot
.
barY
(
mapMetadata
,
{
filter
:
d
=>
d
.
pub_date_normalized
<
2025
,
x
:
"area"
,
y
:
"num_labels"
}
)
Insert cell
Insert cell
Plot
.
plot
(
{
title
:
"Labels per map by area of map"
,
marks
:
[
Plot
.
dot
(
mapMetadata
,
{
x
:
"area"
,
y
:
"num_labels"
}
)
]
,
x
:
{
domain
:
pinMapAxes
?
[
0
,
300000
]
:
undefined
}
,
y
:
{
domain
:
pinMapAxes
?
[
0
,
80000
]
:
undefined
}
}
)
Insert cell
Plot
.
barY
(
mapMetadata
,
{
filter
:
d
=>
d
.
pub_date_normalized
<
2025
,
x
:
"pub_date_normalized"
,
y
:
"num_labels"
}
)
Insert cell
viewof
minDate
=
Inputs
.
range
(
d3
.
extent
(
mapMetadata
,
d
=>
d
[
"pub_date_normalized"
]
)
,
{
label
:
"Min Date"
,
step
:
1
,
value
:
d3
.
min
(
mapMetadataCompact
,
d
=>
d
[
"pub_date_normalized"
]
)
}
)
Insert cell
viewof
maxDate
=
Inputs
.
range
(
d3
.
extent
(
mapMetadata
,
d
=>
d
[
"pub_date_normalized"
]
)
,
{
label
:
"Max Date"
,
step
:
1
,
value
:
d3
.
max
(
mapMetadata
,
d
=>
d
[
"pub_date_normalized"
]
)
}
)
Insert cell
viewof
pinMapAxes
=
Inputs
.
toggle
(
{
label
:
"Pin Axes"
,
value
:
true
}
)
Insert cell
Insert cell
Plot
.
plot
(
{
title
:
"Labels per map over time"
,
marks
:
[
Plot
.
dot
(
mapMetadata
,
{
x
:
"pub_date_normalized"
,
y
:
"num_labels"
}
)
]
,
x
:
{
domain
:
pinMapAxes
?
[
1500
,
2025
]
:
undefined
}
,
y
:
{
domain
:
pinMapAxes
?
[
0
,
80000
]
:
undefined
}
}
)
Insert cell
Insert cell
maps_metadata_filtered
=
mapMetadata
.
filter
(
d
=>
d
[
"normalized_pub_date"
]
>=
minDate
&&
d
[
"normalized_pub_date"
]
<=
maxDate
)
Insert cell
Insert cell
import
{
Plot
}
from
"@mkfreeman/plot-tooltip"
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
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
mapMetadataCompact
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
File attachments
map-metadata-compact (2).csv
CSV
Databases
Filter
Column
Operator
Columns
Sort
date
Ascending
Descending
Ascending
Column
Direction
Descending
Ascending
Slice
From
Start
To
End
Add comment
Select
Duplicate
Copy link
Embed
Delete
Cells
mapMetadataCompact
File attachments
map-metadata-compact (2).csv
CSV
Customize
Clear
Title
Subtitle
Caption
Height
Width
Auto
Full
Margin
Top
Right
Bottom
Left
Inset
Legend
Auto
None
X label
X scale
Auto
Scale
Auto
linear
log
sqrt
symlog
point
band
X options
Grid
Reverse
Y label
Y scale
Auto
Scale
Auto
linear
log
sqrt
symlog
point
band
Y options
Grid
Reverse
Color scheme
Auto
Color scheme
Auto
Default color schemes
Sequential
Diverging
Cyclical
Categorical
Sequential color schemes
Blues
Greens
Greys
Oranges
Purples
Reds
Turbo
Viridis
Inferno
Magma
Plasma
Cividis
Warm
Cool
BuGn
BuPu
GnBu
OrRd
PuBuGn
PuBu
PuRd
RdPu
YlGnBu
YlGn
YlOrBr
YlOrRd
Diverging color schemes
BrBG
PRGn
PiYG
PuOr
RdBu
RdGy
RdYlBu
RdYlGn
Spectral
Cyclical color schemes
Sinebow
Turbo
Categorical color schemes
Category10
Accent
Dark2
Paired
Pastel1
Pastel2
Set1
Set2
Set3
Tableau10
Color scale
Auto
Scale
Auto
linear
log
sqrt
symlog
categorical
ordinal
Color options
Reverse
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Field
—
Field
—
Mark
Auto
—
bar
dot
line
area
rule
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
Cells
mapMetadataCompact
File attachments
map-metadata-compact (2).csv
CSV
Customize
Clear
Title
Subtitle
Caption
Height
Width
Auto
Full
Margin
Top
Right
Bottom
Left
Inset
Legend
Auto
None
X label
X scale
Auto
Scale
Auto
linear
log
sqrt
symlog
point
band
X options
Grid
Reverse
Y label
Y scale
Auto
Scale
Auto
linear
log
sqrt
symlog
point
band
Y options
Grid
Reverse
Color scheme
Auto
Color scheme
Auto
Default color schemes
Sequential
Diverging
Cyclical
Categorical
Sequential color schemes
Blues
Greens
Greys
Oranges
Purples
Reds
Turbo
Viridis
Inferno
Magma
Plasma
Cividis
Warm
Cool
BuGn
BuPu
GnBu
OrRd
PuBuGn
PuBu
PuRd
RdPu
YlGnBu
YlGn
YlOrBr
YlOrRd
Diverging color schemes
BrBG
PRGn
PiYG
PuOr
RdBu
RdGy
RdYlBu
RdYlGn
Spectral
Cyclical color schemes
Sinebow
Turbo
Categorical color schemes
Category10
Accent
Dark2
Paired
Pastel1
Pastel2
Set1
Set2
Set3
Tableau10
Color scale
Auto
Scale
Auto
linear
log
sqrt
symlog
categorical
ordinal
Color options
Reverse
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Field
—
Field
—
Mark
Auto
—
bar
dot
line
area
rule
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
mapMetadata
Add comment
Copy import
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
search_metadata
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
rows
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
search_title
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
maxDaterows
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
Edit
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
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
minDate
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
maxDate
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
pinMapAxes
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
maps_metadata_filtered
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
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML