All Projects → JohnCoene → Sigmajs

JohnCoene / Sigmajs

Licence: other
Σ sigma.js for R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Sigmajs

Echarts4r
🐳 ECharts 5 for R
Stars: ✭ 378 (+551.72%)
Mutual labels:  rstats, htmlwidgets
Streamgraph
〰️ htmlwidget for creating streamgraph visualizations in R
Stars: ✭ 137 (+136.21%)
Mutual labels:  rstats, htmlwidgets
Particles
A particle simulation engine based on a port of d3-force
Stars: ✭ 104 (+79.31%)
Mutual labels:  rstats, network-visualization
Sunburstr
R htmlwidget for interactive sunburst plots
Stars: ✭ 177 (+205.17%)
Mutual labels:  rstats, htmlwidgets
rchess
♛ Chess package for R
Stars: ✭ 68 (+17.24%)
Mutual labels:  rstats, htmlwidgets
Reactr
React for R
Stars: ✭ 227 (+291.38%)
Mutual labels:  rstats, htmlwidgets
Nomnoml
Sassy 'UML' Diagrams for R
Stars: ✭ 173 (+198.28%)
Mutual labels:  rstats, htmlwidgets
quickglobe
🌎 View Country Data via a 3D, D3, Globe 🌍
Stars: ✭ 22 (-62.07%)
Mutual labels:  rstats, htmlwidgets
Highcharter
R wrapper for highcharts
Stars: ✭ 583 (+905.17%)
Mutual labels:  rstats, htmlwidgets
Rdoc
colourised R docs in the terminal
Stars: ✭ 49 (-15.52%)
Mutual labels:  rstats
Gem
Stars: ✭ 1,070 (+1744.83%)
Mutual labels:  network-visualization
Getlandsat
get landsat 8 images and metadata
Stars: ✭ 47 (-18.97%)
Mutual labels:  rstats
Lenz
Console based MAP 🗺 : with lots of features 🤩
Stars: ✭ 51 (-12.07%)
Mutual labels:  network-visualization
Vcr
Record HTTP calls and replay them
Stars: ✭ 54 (-6.9%)
Mutual labels:  rstats
Notary
🔏📦 Signing & verification of R packages
Stars: ✭ 48 (-17.24%)
Mutual labels:  rstats
Drake Examples
Example workflows for the drake R package
Stars: ✭ 57 (-1.72%)
Mutual labels:  rstats
Resources
R-Ladies Resources : Various resources for R-Ladies Global and to be shared across chapters 💜 🌍
Stars: ✭ 47 (-18.97%)
Mutual labels:  rstats
Dsci 100
Repository for UBC's Introduction to Data Science course (DSCI 100)
Stars: ✭ 46 (-20.69%)
Mutual labels:  rstats
Netdiffuser
netdiffuseR: Analysis of Diffusion and Contagion Processes on Networks
Stars: ✭ 57 (-1.72%)
Mutual labels:  network-visualization
Nodbi
Document DBI connector for R
Stars: ✭ 56 (-3.45%)
Mutual labels:  rstats

sigmajs

Travis-CI Build Status AppVeyor Build Status lifecycle bitbucket CRAN status CircleCI Coverage status Coverage status DOI twinetverse CRAN log R build status

sigmajs for R.

With the rise in popularity of networks, it is important for R users to have access to a package that allows visualising the aforementioned networks in a highly configurable, interactive and dynamic manner. sigmajs is a fully-fledged wrapper for the sigma.js JavaScript library.

The sigma.js JavaScript library is described as follows on its website:

Sigma is a JavaScript library dedicated to graph drawing. It makes easy to publish networks on Web pages, and allows developers to integrate network exploration in rich Web applications

Install

The stable version from CRAN.

install.packages("sigmajs")

The development version from Github of Bitbucket.

# install.packages("devtools")
devtools::install_github("JohnCoene/sigmajs") # github
devtools::install_bitbucket("JohnCoene/sigmajs") # bitbucket

Examples

Most functions have corresponding demo(), see documentation and shiny demo.

library(sigmajs)

# generate data
nodes <- sg_make_nodes()
edges <- sg_make_edges(nodes)

# visualise
sigmajs() %>%
	sg_nodes(nodes, id, label, size, color) %>%
	sg_edges(edges, id, source, target)

# from igraph 
data("lesmis_igraph")
 
layout <- igraph::layout_with_fr(lesmis_igraph)

sigmajs() %>%
	sg_from_igraph(lesmis_igraph, layout)

# from GEXF
gexf <- system.file("examples/arctic.gexf", package = "sigmajs")

sigmajs() %>% 
	sg_from_gexf(gexf) 

# proxies demos
demo(package = "sigmajs")

Contributing

See the contrinuting guidelines if you encounter any issue. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].