jsGeoDa
  • jsGeoDa (beta)
  • User Guide
    • Installation
    • Hello jsgeoda!
    • Load Spatial Data
  • Choropleth Mapping
    • Basic Mapping
    • Cartogram
    • Rate Mapping
    • Spatial Rate Mapping
  • Spatial Weights
    • Contiguity-Based Weights
    • Distance-Based Weights
    • Kernel Weights
  • Local Spatial Autocorrelation
    • Local Moran
    • Local Geary
    • Local Getis-Ord G
    • Local Join Count
    • Quantile LISA
  • Multivariate Local Spatial Autocorrelation
    • Local Neighbor Match Test
    • Multivariate Local Geary
    • Bivariate Local Join Count
    • Multivariate Local Join Count
    • Multivariate Quantile LISA
  • Spatial Clustering
    • SKATER
    • REDCAP
    • SCHC
    • AZP
    • Max-p
  • Cluster Analysis
  • HDBScan
  • Fast K-Medoids
  • API REFERENCE
    • jsgeoda
Powered by GitBook
On this page
  • Spatial data analysis in browser!!
  • 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

Was this helpful?

jsGeoDa (beta)

-- by Xun Li, Luc Anselin

Spatial data analysis in browser!!

jsgeoda is the first javascript library for spatial data analysis with functionalities of choropleth mapping, spatial weights, local indicators of spatial association, spatial clustering, and cluster analysis. With a few lines of code, you can run spatial data analysis in a web browser or in Node.js:

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

NextInstallation

Last updated 3 years ago

Was this helpful?

jsgeoda can be easily integrated with your web application. is the first web application that integrates jsgeoda to run high power spatial analytics in the browser without server needed:

the US Covid Altas
https://codesandbox.io/s/1-hello-jsgeoda-foq4j
https://codesandbox.io/s/2-load-spatial-data-dgcux
https://codesandbox.io/s/3basicmapping-lcguj
https://codesandbox.io/s/4spatial-weights-owi84
https://codesandbox.io/s/5lisaunivariate-zhhop
https://codesandbox.io/s/6lisamultivariate-4w3hk
https://codesandbox.io/s/7spatialclustering-uvz12
theuscovidatlas.org