Platform
Resources
Pricing
Sign in
Contact us
francobollo
Applying GIS, Data Vis. and Deep Learning to environmental science and nuclear emergency responses
Workspace
Fork
Public
By
francobollo
Edited
Jun 12, 2023
2 forks
Insert cell
Insert cell
Insert cell
apiKey
=
"60738df5-053c-47ce-96a2-81d3d7b8b3b2"
Insert cell
requestBody
=
(
{
sampleTypeId
:
1
,
nuclideId
:
"1"
,
samplingDepthFrom
:
0.5
,
samplingDepthTo
:
0.8
,
samplingDateFrom
:
2000
,
samplingDateTo
:
2015
}
)
Insert cell
// ref:
// - https://stackblitz.com/edit/node-wwqavu?file=index.js
// - https://observablehq.com/@mbostock/posting-with-fetch
d3
.
json
(
"https://maris-uat.iaea.org/api/Search/getMeasurementData"
,
{
body
:
JSON
.
stringify
(
JSON
.
stringify
(
requestBody
)
)
,
headers
:
{
"content-type"
:
"application/json"
,
"x-api-key"
:
apiKey
}
,
method
:
"POST"
,
mode
:
"cors"
,
credentials
:
"include"
}
)
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
apiKey
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
requestBody
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML