D3 JavaScript Network Graphs from R.
This started as a port of Christopher Gandrud’s r package d3Network for creating D3 network graphs to the htmlwidgets framework. The htmlwidgets framework greatly simplifies the package’s syntax for exporting the graphs, improves integration with RStudio’s Viewer Pane, RMarkdown, and Shiny web apps. See below for examples.
It currently supports the following types of network graphs:
Force directed networks with simpleNetwork and forceNetwork
Sankey diagrams with sankeyNetwork
Tree diagrams with radialNetwork and diagonalNetwork
Dendro networks with dendroNetwork
Chord layout with chordNetwork
External Links: