Export Image
Export Code

Scatterplot Tour

FilmonM

0 views in last 90 days
Last edited Jan 02, 2021
Created on Jan 02, 2021
Forked from D3 Starter

Scatterplot Tour

https://observablehq.com/@d3/scatterplot-tour@153

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/@d3/scatterplot-tour.tgz?v=3

Then, import your notebook and the runtime as:

import {Runtime, Inspector} from "@observablehq/runtime";
import define from "@d3/scatterplot-tour";

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));
MIT Licensed