I am trying to build interactive network visualizations of objects that are linked. I have reviewed the code at: https://christophergandrud.github.io/networkD3/
but was not able to locate a code sample that would help me to convert Nodes into clickable urls that would redirect user or would launch a new browser window.
Is this possible?
My question relates to the networkD3
charts that are saved as html using this code sample:
library(networkD3)
library(magrittr)
Source <- c("A", "A", "A", "A", "B", "B", "C", "C", "D")
Target <- c("B", "C", "D", "J", "E", "F", "G", "H", "I")
NetworkData <- data.frame(Source, Target)
simpleNetwork(NetworkData) %>% saveNetwork(file = 'Net1.html')