Are Some Notebooks Private?

I’m trying to figure out what version of Vega-Lite is used in the basic xample in the Visualization gallery (https://beta.observablehq.com/@mbostock/exploring-data-with-vega-lite).

I figured I might go and inspect the contents of the cell towards the end which contains the rendering function:

vegalite = require("@observablehq/vega-lite@0.1")

Following the usual naming patterns, I tried to visit this URL:

https://beta.observablehq.com/@observablehq/vega-lite

Unfortunately, the page wasn’t accessible from my account.

I’m curious if other people have run into other “private notebooks” / might know if this might actually be something else (like an NPM package).

Your final hunch is correct — it’s an NPM package!

But I can see how it would be confusing, as import {foo} from "@observablehq/veta-lite@1" would be the syntax for importing a notebook.

1 Like