I am currently working on a complex graph that consists of around 150 nodes using D3 Javascript. The concept behind it is quite intriguing:
Each node is interconnected with 100 other nodes. Out of these 100 nodes, 49 are further linked to another set of 49 nodes.
To simplify this, let's say I know 100 people. Out of them, 49 have birthdays. Each person represents a node in the graph.
In order to connect these nodes effectively, I am utilizing 'source' and 'target' parameters within JavaScript arrays. However, I feel like there is a crucial aspect of understanding Force-Directed Graphs in D3 that is eluding me. From what I comprehend, the connections can be established through 'source' and 'target'. My issue lies in comprehending how I can accurately link these connections to the respective nodes. I am unsure about the criteria for creating an array to store my name, as well as the names of people and their birthdays, so they align correctly. Currently, my graph displays the correct individuals but with incorrect birthdays. Can someone provide guidance on the correct approach to handling this situation? I have been referring to this tutorial: and struggling with creating an array that includes information such as: name, people's names, and birthdays.
Your help in this matter would be greatly appreciated.