A simple example using R and D3.js for show the examples of SNA Course in Coursera
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
data.json
readme.md
script_sna.r

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.