Module 26 - Statistics and Charts

Level 5 路 Query & Analysis 路 馃煚 路 4 hours 路 Prereq: Module 25


What you'll build

A dashboard where the map and the charts drive each other: pan the map and the charts update to the visible extent; click a chart bar and the map filters to that category. Built on server-side aggregation, so it works on a five-million-row layer.


Why this matters

The instinct is to download features and compute in JavaScript. That works to about 10,000 rows and then falls off a cliff. outStatistics pushes the work to a database that has indexes and does this for a living - five million rows in, fifty rows out.

The map鈫攃hart bidirectional link is also the interaction pattern that defines a dashboard, and it has a specific set of traps (feedback loops, stale results, double-filtering).


The full lesson is part of the Query & Analysis level of Web GIS Development with the ArcGIS Maps SDK for JavaScript.