• Stars
    star
    71
  • Rank 426,865 (Top 9 %)
  • Language
    R
  • License
    Other
  • Created almost 6 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Σ sigma.js for R

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.

More Repositories

1

echarts4r

🐳 ECharts 5 for R
JavaScript
572
star
2

waiter

🕰️ Loading screens for Shiny
JavaScript
485
star
3

coronavirus

🦠 Novel Coronavirus (COVID-19) Tracker
R
321
star
4

cicerone

🏛️ Give tours of your Shiny apps
R
180
star
5

javascript-for-r

📚 JavaScript for R CRC Book
HTML
173
star
6

firebase

Google FIrebase for shiny
R
159
star
7

g2r

📈 Grammar of graphics for interactive visualisations
R
149
star
8

packer

webpack + npm + R = ❤️
R
135
star
9

grapher

✍️ Large interactive graphs
JavaScript
92
star
10

sever

🔪Good-looking problems: customise your Shiny disconnected screen and error messages
R
77
star
11

linne

🌊 Write CSS in R
R
77
star
12

tippy

💬 Tippy.js for Shiny
R
70
star
13

scrollytell

Scrollytell with R
R
68
star
14

pushbar

🖥️ Off-canvas elements for Shiny
R
58
star
15

globe4r

🌎 Interactive globe visualisations
HTML
54
star
16

marker

🖊️ Dynamically Highlight Text in Shiny
R
54
star
17

marat

📜 Jekyll theme inspired by L'Ami du peuple
Ruby
54
star
18

chirp

🔬Visualise Twitter Interactions
HTML
50
star
19

graphTweets

📣 Visualise networks of Twitter interactions
R
46
star
20

echarts

🐳 echarts for R - htmlwidget
R
43
star
21

countup

⏱️ countup.js R htmlwidget
R
36
star
22

how-to-build-htmlwidgets

Material - How to build htmlwidgets workshop
HTML
35
star
23

charter

Chart.js for R
R
33
star
24

awn

Awesome notifications for shiny
R
25
star
25

bsutils

Utilities for Bootstrap 5
R
23
star
26

datamaps

📍 datamaps htmlwidget for R
R
22
star
27

sacred

📖 Sacred texts in R
R
21
star
28

nter

⌨️ Trigger shiny buttons with the enter key
R
21
star
29

shinyscroll

Scroll to an element in Shiny
R
21
star
30

titanicon

Titanic animated icons for Shiny and Rmarkdown.
R
21
star
31

horizonplot

Horizon Plot Time Series
R
21
star
32

twinetverse

💫 Easily install and load packages for Twitter network analysis and visualisation
R
20
star
33

npm

npm from R
R
19
star
34

g3r

3D, VR and AR Maps in R
JavaScript
19
star
35

echarts4r.maps

Maps for echarts4r
R
18
star
36

reactrend

react-trend for R based on reactR
R
17
star
37

reactslider

WIP reactslider for Shiny
R
15
star
38

echarts4rShiny

Demo of shiny working with echarts4r
R
15
star
39

typedjs

⌨️ typed.js R htmlwidgets
R
14
star
40

mjml

📨 Create responsive emails with R
R
13
star
41

youTubeDataR

▶️ Integrates R and the YouTube Data API
R
13
star
42

arframer

📦 Augmented Reality in R
R
12
star
43

scrollyteller

Package 'verse for scrollytelling in Shiny
R
12
star
44

aframer

📦 R wrapper to aframe
R
11
star
45

n3d

3D networks in R
R
11
star
46

yarn

yarn from R
R
11
star
47

gior

A Declarative 3D Globe Data Visualization
R
11
star
48

r-network-visualisation

Handy list of network visualisation libraries for R
11
star
49

echarts4r.assets

Assets for echarts4r
R
11
star
50

peity

Inline charts for R
R
10
star
51

textillate

📄 textillate.js for R
R
10
star
52

fullscreen

Make Rmarkdown and Shiny apps fullscreen
R
10
star
53

shinytitle

Dynamically update shiny page title
JavaScript
10
star
54

billboard

📊 htmlwidget for billboard.js
R
10
star
55

js-shiny

Example of using JavaScript to solve shiny dynamic input hell
JavaScript
9
star
56

headspace

Headspace.js for Shiny
R
9
star
57

shiny-endpoints

Dynamic endpoints in shiny
R
8
star
58

gdp-app

GDP app with globe4r
R
8
star
59

shticky

Euwww, shticky shtuff
R
8
star
60

h3inr

H3 bindings for R
R
6
star
61

parcel

Parcel for R
HTML
6
star
62

go-nettle

Basic Graph Layout
Go
5
star
63

aforce

📦 3D Force-Directed Graph in R
R
5
star
64

golem-cmd

💡 A cli for golem
JavaScript
5
star
65

r-ladies-tunis

R Ladies Tunis Workshop Resources
R
5
star
66

twinetbook

📘 twinetverse book
HTML
5
star
67

ericsson

Interact with erlang from R
R
4
star
68

trianglify

📐 htmlwidget for trianglify
R
4
star
69

JohnCoene

4
star
70

gkg

Google Knowledge Graph from R
R
4
star
71

ytr

R Wrapper to the Youtube Analytics API
R
4
star
72

gior-shiny

Shiny demo of the gior package
R
4
star
73

funplot

📉 Function Plot is a plotting library built on top of D3.js used to render functions with little configuration
R
4
star
74

base-gior

Setup to start building the gior package
R
3
star
75

go-graphtweets

graphTweets for golang
Go
3
star
76

cran

Cran Dependency Graph
R
3
star
77

egg

🥚 egg.js htmlwidget for R
R
3
star
78

sigmajshiny

Sigma js for shiny
R
3
star
79

progressBaR

🔚 ProgressBar.js htmlwidget
R
3
star
80

baffle

Baffle text
R
2
star
81

aphysics

📦 Physics for aframer
R
2
star
82

uvcharts

uvcharts htmlwidget for R
R
2
star
83

fbadsinsightsr

👍 fbAdsInsightsR is an R package that allows fetching data from the Facebook Ads Insights API.
R
2
star
84

rtable

Wrapper to the Airtable API
R
2
star
85

shiny-aframer

Shiny & aframer example
R
2
star
86

aenvironment

📦 Environment for aframer
R
2
star
87

go-ergo

Ergodicity Economics
Go
2
star
88

tweets2earth

🌎 Plot tweets on Google Earth
R
2
star
89

bananas

🍌 Wrapper to the 'MailChimp' API
R
2
star
90

chartist

📉 chartist htmlwidget for R
R
2
star
91

vrrr

Virtual Reality in R
R
2
star
92

go-sharedcount

Sharedcount API for Go
Go
1
star
93

wine

🍷 Wine on Social Media Dashboard
HTML
1
star
94

rodham

🤷‍♀️Fetch Hillary Rodham Clinton emails
R
1
star
95

apoint

📦 Points for aframer
JavaScript
1
star
96

acharts

📦 Make Virtual Reality Charts with R
R
1
star
97

aextras

📦 Extras component for aframer
R
1
star
98

parsely

🌿 R wrapper to the parse.ly API
R
1
star
99

livestream

📺 R Wrapper to the Livestream API
R
1
star
100

apath

📦 Path component for aframer
CSS
1
star