Published
Edited
Apr 22, 2021
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
displayData = getData(queryTest)
Insert cell
Insert cell
html`
${JSON.stringify(displayData)}
`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fileTitle = "accounts.csv"
Insert cell
DOM.download(exportCSVFile(displayData.data[dataType], fileTitle),
fileTitle,
"Export data"
)

Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
graphql = require("graphql.js")
Insert cell
graph = graphql(subgraphAPI)
Insert cell
globals = graph(queryTest)
Insert cell
Insert cell
Insert cell
markets = {
const response = await fetch(strapiUrl);
return await response.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.
Learn more