Skip to main content
100%

embed test

✓ Published0🌍 Public
MMbrownshoes
Last edited Jun 11, 2019
Created on Jun 11, 2019

This example demonstrates how to embed a complete Observable notebook within an external webpage. The visualization displays the content of a specific notebook module, rendering each of its exported variables inside its own container. The code uses the Observable runtime API to load the notebook and instantiate an `Inspector` for each variable, while fetching the notebook definition from a gist-hosted JavaScript file. The rendering approach relies on dynamically injecting HTML wrappers and then populating them through the runtime's loading mechanism.

AI-generated description

Similar vizzes