Skip to content

Jefersonalves/zoomable-fixed-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoomable Fixed Graph with Images

https://observablehq.com/@jefersonalves/zoomable-fixed-graph-with-images@255

View this notebook in your browser by running a web server in this folder. For example:

python -m SimpleHTTPServer

Or, use the Observable Runtime to import this module directly into your application. To npm install:

npm install @observablehq/runtime@4
npm install https://api.observablehq.com/d/e5bce65b6c85d041.tgz?v=3

Then, import your notebook and the runtime as:

import {Runtime, Inspector} from "@observablehq/runtime";
import define from "@jefersonalves/zoomable-fixed-graph-with-images";

To log the value of the cell named “foo”:

const runtime = new Runtime();
const main = runtime.module(define);
main.value("foo").then(value => console.log(value));