Skip to content
/ d3net Public

Shiny application for interactive network data visualization and exploration

Notifications You must be signed in to change notification settings

mbojan/d3net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#d3net

Framework for creating Shiny applications for network visualization using D3.js JavaScript library.

Updating to the latest version of d3net

You can download d3net package at https://github.com/mbojan/d3net. To install it:

  1. Install the release version of devtools from CRAN with install.packages("devtools").

  2. Follow the instructions below depending on platform.

    • Mac and Linux:

      devtools::install_github("mbojan/d3net")
    • Windows:

      library(devtools)
      build_github_devtools()
      
      #### Restart R before continuing ####
      install.packages("d3net.zip", repos = NULL)
      
      # Remove the package after installation
      unlink("d3net.zip")

Package functions

Currently methods are implemented for objects of class "igraph", "network" and "networkDynamic".

To launch application:

library(d3net)
d3net(dataset)

where dataset is R igraph, network or networkDynamic object

Examples

To launch examples, use the example datasets provided for each object type.

igraph

library(igraphdata)
data(karate)
d3net(karate)

network

library(network)
data(flo)
#create network object from sample data
nflo <- network(flo, directed = FALSE)
d3net(nflo)

networkDynamic

library(networkDynamicData)
data(harry_potter_support)
d3net(harry_potter_support)

See also

About

Shiny application for interactive network data visualization and exploration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published