I am in the middle of creating a chord diagram, and I now have all the data in place to make it happen. However, I am not sure of the best way to go about it. Attached is my .gh file with an example of how I want it to look (thanks .gh forum). I also tried to internalize my excel file/upload it with no success, I am not sure how to do this (image is attached).
My pseudo code (logic) for the diagram is to:
- Create points for the two data branches on the edge of the matrix.
- Each cell should either have a number or not - if it does have number, draw that many lines between the points of the two branches - exp. if the cell says six - six lines are drawn between the two edge points - this could also be done with line thickness as a way to denote the relative strength of the cell
I have used the ReadExcelSheet from TT Toolbox to get the branches and have put the lettering from each on the outside of the circle. These two lists are matched so a line between the two branches should work.
I am struggling with associating the branches with points as all of the text functions I have seen don’t have outputs except bake and I need to have them at a cartesian location (I do recognize Human can break down a text to its location).
I am unsure how to make the excel data I have read like I want. Do I construct a domain and then try to pull the number from there? Or is the domain not already built, and it is a matter of matching the lists together?
I hope I explained myself clear enough - and I have tried for many hours to figure it out with limited success.
Any help you could give would be seriously appreciated.
Thanks in advance!!!
Updated Chord.gh (24.9 KB)