This sample demonstrates how to filter binned data on a FeatureLayer. Binning is a method of aggregating points in a FeatureLayer, CSVLayer, GeoJSONLayer, WFSLayer, or OGCFeatureLayer by grouping them in predefined bins.
Filtering on the layer view or layer of binned points works exactly the same as it does on a non-binned dataset.
Related samples and resources
Binning
Learn how to aggregate point features spatially using bins.
![Image preview of related sample Binning with aggregate fields](/javascript/latest/static/a0eed61af9a9adc19509f5774fa834f5/e1e8c/thumbnail.png)
Binning with aggregate fields
This sample demonstrates how to define aggregate fields that can be used in the popup, labels, and renderer of a binned layer.
![Image preview of related sample Binning - Filter by category](/javascript/latest/static/38dfbcf4d295f2db500d14bb4116d0be/e1e8c/thumbnail.png)
Binning - Filter by category
Demonstrates how to filter binned data by category.
![Image preview of related sample Summarize binned data using Arcade](/javascript/latest/static/751e67a34fdb617dc257cab1e547a2cb/e1e8c/thumbnail.png)
Summarize binned data using Arcade
Use Arcade in popups to summarize binned crimes by type
![Image preview of related sample Intro to clustering](/javascript/latest/static/f1bd515dab6a798739380f9bde51fd70/e1e8c/thumbnail.png)
Intro to clustering
Intro to clustering
FeatureReductionBinning
Read the API Reference for more information.