Spatial autocorrelation on a grid

The pattern

Local Moran’s I

Global Moran’s I

—

Show on the second grid

Which squares count as neighbours, and how much
Test each square against chance
Zoom / extent reloads the pattern
Load a pattern