ClusterLayer is not part of the JSAPI, it was just used for the sample.
ArcGIS API for JavaScript Sandbox
Clustering support is implemented via the FeatureLayer with hosted feature services.
Basic clustering | ArcGIS API for JavaScript 3.24
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.