Select to view content in your preferred language

Zip Codes Heat Map for whole area not point?

954
2
12-29-2021 02:06 PM
BushraSyed1
Emerging Contributor

Hello, I have a csv file that has zip codes. I want to create a heatmap of the frequency of zipcodes in the csv file. 

I would like to create something like:

Screenshot 2021-12-29 165952.png

 
Is this possible using the api? If so, can I get some help implementing this? Thank you!
Tags (3)
0 Kudos
2 Replies
shaylavi
Esri Contributor

You don't need the API for this. Assuming the data is suitable, you can just upload the file to a new map at ArcGIS.com and apply the heatmap style.

Here are some resources about this -

https://enterprise.arcgis.com/en/portal/latest/use/add-items.htm

https://doc.arcgis.com/en/insights/latest/create/heat-maps.htm

https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/heat-mapping-in-two-simple-steps/

 

Shay
0 Kudos
LaurenBoyd
Esri Contributor

Hi @BushraSyed1 ,

There is a sample that shows how to construct a HeatmapRenderer from a CSV file that may help you get started: https://developers.arcgis.com/javascript/latest/sample-code/visualization-heatmap/

And as @shaylavi mentioned, you can also upload the file to ArcGIS Online and add it as a layer to a map to apply the heatmap renderer style there. Hope this helps!

-Lauren

Lauren
0 Kudos