wegiangb / wegiangb.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Wealth & Health of Nations

https://observablehq.com/@mbostock/the-wealth-health-of-nations@202

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

npx http-server

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/@mbostock/the-wealth-health-of-nations.tgz?v=3

Then, import your notebook and the runtime as:

import {Runtime, Inspector} from "@observablehq/runtime";
import define from "@mbostock/the-wealth-health-of-nations";

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

About

License:ISC License


Languages

Language:JavaScript 98.0%Language:HTML 2.0%