Platform
Resources
Pricing
Sign in
Contact us
Tom MacWright
hi!
Workspace
Fork
Published
By
Tom MacWright
Edited
Nov 15, 2018
5 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
x
=
lon
=>
~
~
(
width
*
(
(
lon
+
180
)
/
360
)
)
Insert cell
y
=
lat
=>
~
~
(
(
height
*
(
90
-
lat
)
)
/
180
)
Insert cell
Insert cell
getTyped
=
{
let
req
;
return
function
(
)
{
if
(
req
)
return
req
;
return
(
req
=
fetch
(
"https://tmcw-tmp-cors.s3.amazonaws.com/packed"
)
.
then
(
resp
=>
resp
.
arrayBuffer
(
)
)
.
then
(
buf
=>
new
DataView
(
buf
)
)
)
;
}
;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import
{
select
}
from
"@jashkenas/inputs"
Insert cell
mutable
firstRun
=
true
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
block
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
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
getTyped
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
height
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
firstRun
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML