Public
Edited
Jun 2, 2023
Insert cell
Insert cell
topohelper
// direct call inside from() to avoid a deep copy
.from(
nuts3
)
.project({ proj: l93 })
.view({ tooltip: true, zoom: true })
Insert cell
url = "https://minio.lab.sspcloud.fr/projet-cartiflette/diffusion/shapefiles-test1/year=2022/administrative_level=COMMUNE/crs=4326/REGION=75/vectorfile_format=topojson/provider=IGN/source=EXPRESS-COG-CARTO-TERRITOIRE/raw.topojson"
Insert cell
topohelper = require('topohelper@latest')
Insert cell
nuts3 = fetch(url).then(d => d.json())
Insert cell
l93 = "+proj=lcc +lat_0=46.5 +lon_0=3 +lat_1=49 +lat_2=44 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs"
Insert cell
//make_map(nuts3, "no", true)
Insert cell
import {make_map} from "@linogaliana/cartiflette-doc-utils"
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