ArcGIS API for JavaScript: Hosted/DataShpFilesample_shapefile (FeatureServer)
Built using the ArcGIS API for JavaScript