Public
Edited
Mar 6, 2024
1 star
Insert cell
Insert cell
Insert cell
viewof cog = Inputs.text({label: html`<b>Entrer un code Insee issu du COG</b>`, value: "94067"})
Insert cell
r = d3.json(`https://apicarto.ign.fr/api/cadastre/parcelle?code_insee=${cog}`)
Insert cell
Insert cell
Inputs.table(r.features)
Insert cell
r.features
Insert cell
longitude = (r.bbox[0] + r.bbox[2])/2
Insert cell
latitude = (r.bbox[1] + r.bbox[3])/2
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