This adds a year selection drop down. The calculation of the X and Y coordinates for the nodes is necessary as without it, the graph was not moving the nodes automatically. It also evens out the circle a little more than what react-graph-vis was doing.
This adds a year selection drop down. The calculation of the X and Y coordinates for the nodes is necessary as without it, the graph was not moving the nodes automatically. It also evens out the circle a little more than what react-graph-vis was doing.
Demo: