Let's investigate what the API has to offer us in terms of these basic statistical measures. Later we will use these statistical measures in our application to provide better insight into the data. We will also use these techniques in our visualization techniques.
The API provides a module called the StatisticalDefinition
module, which can be used in conjunction with the Query task and Query modules to extract the basic statistical measures we just discussed.
Module name: esri/tasks/StatisticDefinition
The following are the properties used to define a statistic definition object: