Giter Site home page Giter Site logo

d3net's Introduction

#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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.