It s compatible with shiny r markdown documents and rstudio viewer.
Interactive network diagram in r.
We ll use the phone call2 data in the navdata r package which is a list containing the nodes and the edges list prepared in the chapter ref network visualization essentials from the phone call data.
This post explains how to use the library with reproducible examples.
It allows to zoom hover nodes reorganize the layout and more.
This post begins with a short introduction to the basic vocabulary of network analysis followed by a discussion of the process for getting data into the proper structure for network analysis.
R can also be used to make interactive network graphs with the htmlwidgets framework that translates r code to javascript.
To build interactive network visualizations you can use particular packages in r that are all using javascript libraries.
Our favorite package for this visualization task is visnetwork which uses vis js javascript library and is based on htmlwidgets.
This is a comprehensive tutorial on network visualization with r.
Start by loading the tidyverse r package and the phone call2 demo data sets.
It covers data input and formats visualization basics parameters and layouts for one mode and bipartite graphs.
The networkd3 package allows to build interactive network diagram directly from r.
Dealing with multiplex links interactive and animated visualization for longitudinal networks.