Public
Edited
Nov 23, 2024
1 fork
4 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{

function flyTo() {
deckgl.setProps({
initialViewState: {
latitude: 41.3874,
longitude: 2.1686,
zoom: 5,
transitionInterpolator: new deck.FlyToInterpolator({ speed: 2 }),
transitionDuration: "auto"
}
});
}
flyTo();
}
Insert cell
Insert cell
Insert cell
client
SELECT * FROM samplingEffort LIMIT 1000
Insert cell
h3Resolution = Math.round(Math.ceil(zoomRef) * (Math.log(2) / Math.log(3))) + 2
Insert cell
Insert cell
speciesToColorIndex = {
return {
culex: 0,
albopictus: 1,
aegypti: 2,
japonicus: 3,
koreicus: 4
};
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import { DuckDBClient } from "@jcolot/duckdb-in-webassembly-with-loadable-extensions"
Insert cell
Insert cell
d3.schemeTableau10
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