Public
Edited
Nov 26, 2022
2 forks
11 stars
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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more