Interactive Network Graphs with R Lang .. You got to see this!!
Interactive network graphs with R networkD3
Interactive network graphs with R networkD3
Usually network graphs are difficult to visualize and hard to interpret. Importance of nodes usually called as actors or points importance will be based on centrality measures. There are many types of centrality measures. 1. Degree Centrality 2. Betweeness Centrality 3. Closeness Centrality In this blog, I am not trying to teach you centrality measures, I will be showing how to plot Interactive network graphs which are stunningly amazing. In the below interactive graphs, strength of a node in the network is captured by the amount of space in the network it can drag, when it is pulled. Video below will show you what exactly I mean. I am quite excited to see packages like this in R. It is simply awesome and makes visualizations much interesting. I never had seen anything like this before in commercial software’s although which are meant for creating interactive dash boards ;).
load the data and libraries
# load the librarylibrary("networkD3")
## Warning: package 'networkD3' was built under R version 3.1.2
# load the datasetwd("D:\\BigData_sai\\Data science\\Interactive Plots\\Jan_06_2015")networkData<-read.csv("Network.csv")# glance of datahead(networkData)
No comments:
Post a Comment