Select to view content in your preferred language

Chart Clustering Aggregation Option in ArcGIS Pro

766
11
10-23-2024 01:05 PM
Status: Open
Labels (1)
RachaelChasse
Frequent Contributor

There is an option to aggregate points using a chart clustering option in the ArcGIS Online Map Viewer.  This allows grouping of nearby points into a cluster, symbolized with a chart symbol to categorize the data within each cluster.

It would be great to have this feature in ArcGIS Pro as well.  Right now I have to export my point data and publish it to ArcGIS Online just so I can use the Map Viewer to symbolize information in this manner.

Thank you!

RachaelChasse_0-1729713766571.png

 

Tags (1)
11 Comments
apgis16

Also looking to try to do this

SebastianKrings

@RachaelChasse  How are you doing that in ArcGIS Online?  l try to figure out whether it works for AGE as well.

 

Having that on ArcGIS Pro would also be great. 

RachaelChasse

@SebastianKrings  and @apgis16 

I followed the instructions on this page to turn a point layer into a layer symbolized by clustered charts.  

https://doc.arcgis.com/en/arcgis-online/create-maps/configure-clustering-mv.htm 

Chart clustering won't work for all situations.  Make sure the data you want to chart is symbolized by one of the following methods before moving forward, because the chart is generated based on this symbology:

RachaelChasse_0-1766068831083.png

ETA:  The data also needs to all be in the same layer using this symbology.  If your data is in separate layers, you'll need to consolidate the data into a single layer first.  

apgis16

Thanks Rachael. You haven't been able to do it in ArcGIS Pro, correct?

RachaelChasse

@apgis16  I haven't tried testing it in Pro for awhile, TBH.  But seeing as this is posted on ArcGIS Pro ideas and there has been no comment from ESRI or changed status to "Implemented" my guess is that it still doesn't have the capability yet.

Right now it's one of those random, odd features that is available only online.  ArcGIS Pro is overall a great product that should be more than capable of executing this feature, so it's really mystifying that it is omitted.  

SebastianKrings

Thanks for sharing.
Works for AGE as well.
But does not work with an ArcadeExpression for none of them.

Find my community post about missing expression support here with a pretty quick sample to get PieChart-Clustering based on an ArcGIS Online Layer.

https://community.esri.com/t5/arcgis-enterprise-portal-questions/mapviewer-symbology-clustering-with...

Sharita_Underwood

It took me hours but I actually figured out how to do this in ArcGIS Pro

 

In GIS we're used to data like the following table

 

CityCategory
Atlantax
Bostony
Pittsburghz
Los Angelesx
Salt Lakex
Denvery
Atlantaz
Salt Lakey
Salt Lake z

 

However to make the categorical data I had to reformat my table as the following

CityCategory x (1 if occured 0 if not)Category y (1 if occured 0 if not)Category z(1 if occured 0 if not)Sum of categories x, y, and zcategory x % (category x/sum of categories)category y % (category y/sum of categories)category z % (category z/sum of categories)
Atlanta10121/201/2
Boston010101/21/2
Pittsburgh0011001/1
Los Angeles10011/100
Salt Lake11131/31/31/3
Denver010101/10

 

Now, once you plot your locations in arcgis pro, in my case this was my cities, select your feature layer, under the feature layer tab, select symbology, and choose chart. For type chart choose pie chart and for fields choose each of your category variable % fields (category x %, category y %, category z %). 

 

This will give you a number to use for each of your categories and hence, each category will be a percentage of your pie chart.

 

I haven't actually figured out a good way to generate the labels clearly and succinctly yet but I'm sure with enough patience someone else could.

AlfredBaldenweck

Nice work.

You should be able to use attribute connections to get the labels as part of the symbol 

var st = text(100*$feature.catXperc)
console(st)
return st + "%"

That being said it doesn't work for me in Pro 3.5 on chart symbology for some reason. Might be worth putting in a support case for it.

RachaelChasse

@SebastianKrings I haven't come across your specific problem with the chart symbology disappearing when using expressions instead of a field.  My off the cuff guess is that the chart symbology is not yet sophisticated enough to deal with the range of possibilities when using expressions, so becomes unavailable for any expression.  

@AlfredBaldenweck the labeling tip is interesting.  The problem is, so far I haven't seen a way to achieve Chart style clustering as an option in ArcGIS Pro.  Are you maybe using this for regular chart symbology, instead of clustered chart symbology?

AlfredBaldenweck

Ah, sorry. I got caught up in the moment and forgot to check that.