Can a notebook be 'too big'?

I think you’re running into the issue with the v1 modules served by Observable’s API described in these threads.

The recommended solution is to switch to using the V3 runtime. I think changing the script in your HTML file to the following should work (not tested!):

import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js";
import notebook from "https://api.observablehq.com/d/d1345cfb039d5b19.js?v=3";
const renders = {
  "viewof value": "#labels",
};

for (let i in renders)
  renders[i] = document.querySelector(renders[i]);

const runtime = new Runtime();
const main = runtime.module(define, name => {
  if (renders[name]) {
    return new Inspector(renders[name]);
  }
});
2 Likes