Public
Edited
Jan 18
Importers
15 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
wolfram("Circumference of Earth")
Insert cell
wolfram("How high is the Empire State Building?")
Insert cell
wolfram("How far is Los Angeles from New York")
Insert cell
Insert cell
Insert cell
Insert cell
wolframExpanded("Circumference of Earth")
Insert cell
Insert cell
Insert cell
Insert cell
wolframSolve("x^2/20=2400^4")
Insert cell
Insert cell
{
var force = 100; // N
var mass = 50; // kg

return wolframSolve(`${force} = ${mass} * a`, "a");
}
Insert cell
Insert cell
Insert cell
Insert cell
wolframSolveExpanded("x^2/20=2400^4")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
wolframDemo('ContinuousAndDiscreteTimeDiscounting')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
async function wolframCloud(path, params) {
const url = new URL(`https://www.wolframcloud.com/obj/${path}`)
url.search = new URLSearchParams(params).toString();

const response = await fetch(url);

return response.json()
}
Insert cell
wolframCloud("mcmcclur/cityapi", {
input: "dublin"
})
Insert cell
Insert cell
function wolframNotebookEmbed (path, height) {
return html`<iframe width='100%' height="${height || 400}" src='https://www.wolframcloud.com/obj/${path}' frameborder='0'></iframe>`
}
Insert cell
function wolframNotebookDownload (path) {
return md`[Download notebook](${wolframNotebookDownloadUrl(path)})`
}
Insert cell
function wolframNotebookDownloadUrl (path) {
return 'https://www.wolframcloud.com/download/' + path
}
Insert cell
wolframNotebookEmbed("jerryjappinen/Published/ThingsToTry.nb")
Insert cell
wolframNotebookDownload('jerryjappinen/Published/ThingsToTry.nb')
Insert cell
Insert cell
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