Get the latest tech news

Observable Notebooks Data Loaders


pecial cells that run “ahead” at build time via an interpreter, rather than “live” when you view a notebook in the browser. Data loaders are useful for preparing static data, ensuring consistency and stability, and improving performance.

Data loaders are special cells that run “ahead” at build time via an interpreter, rather than “live” when you view a notebook in the browser. As a more realistic example, below is a Node.js data loader cell that fetches download statistics for Observable Plot from npm. In Notebook Kit, delete the corresponding file from the.observable/cache directory; you can also use continuous deployment, such as GitHub Actions, to refresh data automatically.

Get the Android app

Or read this on Hacker News