Skip to content

zeddmaxx/d3Network

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d3Network

Note: Active development has moved to networkD3.

Tools for creating D3 JavaScript network, tree, dendrogram, and Sankey graphs from R.

Christopher Gandrud

Version: 0.5.2 Build Status

Minimal Example

Click the image to see a working example:

simple-network-example

This is the code to create the graph:

# Create fake data
Source <- c("A", "A", "A", "A", "B", "B", "C", "C", "D")
Target <- c("B", "C", "D", "J", "E", "F", "G", "H", "I")
NetworkData <- data.frame(Source, Target)

# Make network graph
d3SimpleNetwork(NetworkData, height = 300, width = 700)

Many more examples can be found on the package's main page.

Installation

You can install d3Network using the devtools package and the following code:

devtools::install_github('christophergandrud/d3Network')

About

Tools for creating D3 JavaScript network graphs from R.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%