Building a network diagram is always complicated since many different input formats are available:
Moreover, you need to know wheter the network you're trying to build is directed or undirected, and weighted or unweighted. In any case, the igraph package is the best tool to read that kind of data and transform it into a graph object that is required to make a chart.Read full post Online Course
igraph package is the most important
R package when it comes to build network diagrams with R. It basically allows to build any type of network with R. The following examples should allow you to get started and master the most common tasks concerning graph building.
Explore all the parameters offered by the igraph package to customize chart appearance.
Several layout algorithm are offered by the igraph package. Learn how to use them and what are the possibilities.
networkD3 package allows to build interactive network diagrams with R. On the chart below, try to hover a node and drag it to see how it works. You can also scroll to zoom in and out. Visit the corresponding post to see how to use this tool on your dataset.