Platform
Resources
Pricing
Sign in
Get started
EBVL
Enrico Bertini's Visualization Lab
Workspace
Fork
Public
Guides and Examples
By
Dan Kerrigan
Edited
Jan 5
ISC
2 forks
4 stars
Insert cell
Insert cell
query
=
(
{
'$select'
:
'date_extract_m(created_date) as month, count(*)'
,
'$where'
:
'date_extract_y(created_date) = 2019'
,
'$group'
:
'month'
}
)
Insert cell
url
=
"https://data.cityofnewyork.us/resource/erm2-nwe9.json?"
+
new
URLSearchParams
(
query
)
Insert cell
data
=
(
await
fetch
(
url
,
{
method
:
'GET'
,
headers
:
{
'Content-Type'
:
'application/json'
}
,
}
)
)
.
json
(
)
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
query
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
url
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML