jsGeoDa (beta)
-- by Xun Li, Luc Anselin
Spatial data analysis in browser!!
import jsgeoda from 'jsgeoda';
const geoda = await jsgeoda.New();
// get geojson
const response = await fetch('./natregimes.geojson');
const ab = response.arrayBuffer();
// read geojson in jsgeoda
const nat = geoda.readGeoJSON(ab);
// create Queen contiguity weights
const w = geoda.getQueenWeights(nat);
// get values of variable "HR60"
const hr60 = geoda.getColumn('HR60');
// apply local Moran statistics on variable "HR60"
const lm = geoda.localMoran(w, hr60);

Hands-On Tutorials:

1.Hello jsgeoda!
2. Load spatial data
3. Choropleth Mapping
4. Spatial Weights
5. Univariate LISA
6. Multivariate LISA
7. Spatial Clustering
Last updated