Public
Edited
Apr 18, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
img_59551 = FileAttachment("IMG_5955@1.png").image()
Insert cell
Insert cell
data = bertin.merge(cn, "NAME_1", plastic, "NAME_1", false)
Insert cell
Insert cell
plastic = [
{
NAME_1: "Islas Canarias",
fragments: 87,
pellets: 9.4,
moulded_particles: 0.7
}
]
Insert cell
Insert cell
screenshot20221126At201914 = FileAttachment("Screenshot 2022-11-26 at 20.19.14.png").image()
Insert cell
screenshot20221126At202608 = FileAttachment("Screenshot 2022-11-26 at 20@1.26.08.png").image()
Insert cell
world = d3.json(
"https://raw.githubusercontent.com/neocarto/bertin/main/data/world.geojson"
)
Insert cell
Insert cell
cn = d3.json(
"https://raw.githubusercontent.com/deldersveld/topojson/master/countries/spain/spain-province-with-canary-islands.json"
)
Insert cell
Insert cell
bertin = require(`bertin@${lastpatch}`)
Insert cell
lastpatch = d3
.json("https://raw.githubusercontent.com/neocarto/bertin/main/package.json")
.then((d) => d.version)
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