🏠 back to Observable

Can't embed live version of notebook

Here is my code:

<!DOCTYPE html>
<body>
<script type="module">

// Load the Observable runtime and inspector.
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime/dist/runtime.js";

// Your notebook, compiled as an ES module.
import notebook from "https://api.observablehq.com/d/45247c1055c7f393.js";

// Load the notebook, observing its cells with a default Inspector
// that simply renders the value of each cell into the provided DOM node.
new Runtime().module(notebook, Inspector.into(document.body));

</script>

For notebook https://observablehq.com/d/45247c1055c7f393

Anything I am doing wrong?

Try changing this line to:

import notebook from "https://api.observablehq.com/d/45247c1055c7f393.js?v=3";
1 Like

works, thanks! pretty mystical v=3