Public
Edited
Nov 21, 2023
Insert cell
Insert cell
Insert cell
Insert cell
map = {
const height = 800;
let container = DOM.element("div", {
style: `width:${width}px;height:${height}px`
});
yield container;
let layers = [];
if (layers_input.includes("Heatmap")) {
layers.push(lifemap.layer_heatmap(data));
}
if (layers_input.includes("Grid")) {
layers.push(lifemap.layer_grid(data, { cell_size: 1000 }));
}
if (layers_input.includes("Points")) {
layers.push(lifemap.layer_scatter(data));
}

lifemap.lifemap(container, layers, {});
}
Insert cell
Insert cell
data = iucn.join(nodes, "taxid").objects()
Insert cell
Insert cell
nodes = aq.loadArrow("https://ejuris.huma-num.fr/lifemap/nodes.arrow")
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