networkD3: D3 JavaScript Network Graphs from R by Christopher Gandrud, JJ Allaire, & Kent Russell.
From the post:
This is 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 three types of network graphs:
- Force directed networks with
simpleNetwork
andforceNetwork
- Sankey diagrams with
sankeyNetwork
- Reingold-Tilford Tree graphs with
treeNetwork
…
I haven’t compared this to GraphViz but the Sankey diagram option is impressive!