Published
Edited
Aug 4, 2020
Importers
Insert cell
Insert cell
Insert cell
function graphql(payload, headers = {}) {
headers["content-type"] = "application/json";
return fetch(url, {
body: JSON.stringify(payload),
headers: headers,
method: "POST",
mode: "cors"
})
.then(response => {
return response.json();
})
.then(jsonData => {
return jsonData.data;
});
}
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.
Learn more