Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Embedded Observablehq 'Animated' Cell

Public visualization

Viewing a saved revision (read-only)

e8f79654c9ce4c7ca8add44b2bc2e7a7

Embedded Observablehq 'Animated' Cell

0 stars0🌍 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.