Public
Edited
Dec 23, 2022
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
bertin.draw({
params: {
width: 600,
prjection: "d3.geoChamberlinAfrica()",
background: "#bde3ff"
},
layers: [
{
type: "bubble",
geojson: jointure_Af,
values: "co2" + annee,
fill: "#D46ECF",
leg_x: 27,
leg_y: 325,
leg_round: -1,
leg_title: "Emissions de CO²\n (en Kt)",
leg_txtcol: "000000",
fixmax: 800000,
tooltip: ["$name", "$co2" + annee]
},
{
geojson: jointure_Af,
fill: "#9bd382",
length: 300
},
{
type: "scalebar",
units: "kilometers",
leg_x: 100,
leg_y: 750
},
{
type: "header",
text: "Une hausse certaine des émissions\n de CO²",
fill: "000000"
},
{
type: "footer",
text: "source : Banque mondiale, 2022",
fill: "000000"
}
]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
bertin.draw({
params: {
width: 900,
prjection: "d3.geoEckert3()"
},
layers: [
{
geojson: jointure_monde,
fill: {
type: "choro",
values: "periode" + choix,
method: "q6",
leg_x: 20,
leg_y: 175,
leg_round: -1,
leg_title: "Evolution des émissions \nde GES sur la période \n(en%)",
leg_txtcol: "000000",
colors: "YlGnBu"
},
tooltip: ["$Nom Pays", "$periode" + choix]
}
]
})
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

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