A simple example using R and D3.js for show the examples of SNA Course in Coursera
R
Latest commit 003de02 Jun 24, 2016 @jbkunst updating ignore
Permalink
Failed to load latest commit information.
.gitattributes Adding gitattributes and gitingnore Apr 3, 2013
.gitignore updating ignore Jun 23, 2016
data.json Uploading files Apr 2, 2013
readme.md Update readme.md Jul 6, 2015
script_sna.r Pretty code Apr 3, 2013

readme.md

Introduction

A simple example using R and D3.js for show the examples of SNA Course in Coursera. Live example is here.

Details

First, a R script for generate the networks and atributes values of each node, then export the data to json file.

The index.html take the json file and show it with d3.js and jquery for make it interactive.

The Networks

Showing 4 toy networks:

  • Butterfly network
  • Circular network
  • Star network
  • Linear network

The values for a node are calculated according its own network. The nodes and links are not considered in the same big network.