Public
Edited
Dec 4
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
pays = FileAttachment("world.json").json()
Insert cell
banquemondiale = FileAttachment("worldbank.csv").csv({ typed: true })
Insert cell
Insert cell
Insert cell
// Inputs.table(...)
Insert cell
Insert cell
Insert cell
//Inputs.table(...)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// JavaScript
Insert cell
Insert cell
// JavaScript
Insert cell
Insert cell
Insert cell
viz = require("geoviz@0.7.5")
Insert cell
Insert cell
Insert cell
//viz.path({ ... })
Insert cell
Insert cell
// {
// let svg = viz.create(...);
// svg.path();
// return svg.render(...);
// }
Insert cell
Insert cell
Insert cell
// merge = viz.tool.merge({
// geom: ???,
// geom_id: "???",
// data:???,
// data_id: "???"
// })
Insert cell
Insert cell
// merge.diagnostic
Insert cell
Insert cell
// world = ...
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// {
// let svg = viz.create({
// projection: d3.geoEqualEarth()
// });
// svg.outline()
// svg.graticule()
// svg.path(...);
// svg.header(...);
// svg.footer(...);
// return svg.render();
// }
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
//viz.plot({ type: "choro", ... })
Insert cell
Insert cell
Insert cell
//viz.plot({ type: "choro", ... })
Insert cell
Insert cell
Insert cell
Insert cell
//viz.plot({ type: "typo", ... })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
//viz.plot({ type: "prop", ... })
Insert cell
Insert cell
//viz.plot({ type: "prop", ... })
Insert cell
Insert cell
Insert cell
Insert cell
//viz.plot({ type: "propchoro", ... })
Insert cell
Insert cell
//viz.plot({ type: "proptypo", ... })
Insert cell
Insert cell
Insert cell
Insert cell
// {
// let svg = viz.create({
// projection: d3.geoEqualEarth()
// });
// svg.outline()
// svg.graticule()
// svg.plot(...);
// svg.header(...);
// svg.footer(...);
// return svg.render();
// }
Insert cell
Insert cell
Insert cell
// ...
Insert cell
Insert cell
// ...
Insert cell
Insert cell
Insert cell
Insert cell
// ...
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more