Platform
Resources
Pricing
Sign in
Get started
Mike Bostock
Visualization toolmaker. Founder @observablehq. Creator @d3. Former @nytgraphics. Pronounced BOSS-tock.
Workspace
Fork
Published
By
Mike Bostock
Edited
Aug 29, 2021
1 fork
22 stars
Insert cell
Insert cell
fetch
(
"https://mockbin.com/request?foo=bar&foo=baz"
,
{
body
:
JSON
.
stringify
(
{
ping
:
Date
.
now
(
)
}
)
,
headers
:
{
"content-type"
:
"application/json"
}
,
method
:
"POST"
,
mode
:
"cors"
}
)
.
then
(
response
=>
{
return
response
.
json
(
)
;
}
)
Insert cell
Insert cell
d3
.
json
(
"https://mockbin.com/request?foo=bar&foo=baz"
,
{
body
:
JSON
.
stringify
(
{
ping
:
Date
.
now
(
)
}
)
,
headers
:
{
"content-type"
:
"application/json"
}
,
method
:
"POST"
,
mode
:
"cors"
}
)
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
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