Create Chord diagram with self link and avoiding repeated nodes

396
2
11-22-2021 04:54 AM
IonSola_Torralba
New Contributor II

When I create a Chord diagram with Insights I select two fields (origin and destination) and I create a Chord diagram where the width of the links depends on a thirth field (value). The problem is that I have duplicated nodes. If I have flows between three countries, instead of three nodes I have six, because each country appears both as origin and destination. I also would like to show self links for flows with same origin and destination in the same place, but Insights create two different nodes with the same name.

Any ideas on how to deal with this? I could to it with Python or R (https://jokergoo.github.io/circlize_book/book/the-chorddiagram-function.html), but I want to know if this option exists using ArcGIS Insights.  

Tags (2)
0 Kudos
2 Replies
ScottSandusky
Esri Contributor

Hi IonSola, I'll be happy to provide some thoughts, does this help?

- Is it possible to remove duplication from your data?

- Have you looked at using a link chart instead of the chord diagram? This supports things like self-links. I believe that you'll find some more configuration options and possibilities with hthis. https://doc.arcgis.com/en/insights/latest/create/link-chart.htm

0 Kudos
IonSola_Torralba
New Contributor II

Thnak you Scott, I will have a look at link charts.

Regarding to the data, I don't have duplicated data but I have flows from A to B and from B to A. Using python libraries I can use arrows to show the direction and each node appears just once, but Insights shows two A nodes (one for A as origin, and one for A as destination) and two B nodes. This is not acceptable.

 

 

0 Kudos