Skip to main content
100%

Embedded Observablehq 'Animated' Cell

✓ Published0🌍 Public
RRussell Watson
Last edited Jan 30, 2020
Created on Jan 30, 2020

This example embeds a single Observable notebook cell that displays a live numeric value: the number of seconds since the page loaded, updated continuously in real time. The visualization is rendered inside a plain HTML page by importing the Observable Runtime from a CDN and loading the notebook definition from Observable’s API. The code uses `Runtime`, `Inspector.into`, and the notebook’s exported `secondsSinceLoadingThisPage` variable to drive the display, with no additional charting library involved.

AI-generated description

The above is an animated cell from my Observable notebook Embedding Observable Objects.

MIT Licensed

Similar vizzes