• Stars
    star
    775
  • Rank 56,215 (Top 2 %)
  • Language
    R
  • License
    Other
  • Created almost 10 years ago
  • Updated 5 months ago

Reviews

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

Repository Details

HTML Widgets for R

HTML Widgets for R

R build status CRAN status Lifecycle: stable

The htmlwidgets package provides a framework for easily creating R bindings to JavaScript libraries. Widgets created using the framework can be:

  • Used at the R console for data analysis just like conventional R plots (via RStudio Viewer).
  • Seamlessly embedded within R Markdown documents and Shiny web applications.
  • Saved as standalone web pages for ad-hoc sharing via email, Dropbox, etc.

There are already several R packages based on htmlwidgets, including:

  • leaflet -- Interactive maps with OpenStreetMap
  • dygraphs --- Interactive time series visualization
  • networkD3 --- Network visualization with D3
  • sparkline --- Small inline charts
  • DT --- Tabular data via DataTables
  • rthreejs -- Interactive 3D graphics

The package was created in collaboration by Ramnath Vaidyanathan, Joe Cheng, JJ Allaire, Yihui Xie, and Kenton Russell. We've all spent countless hours building bindings between R and the web, and were motivated to create a framework that made this as easy as possible for all R developers.

Getting Started

If you know R and a bit of JavaScript it's very straightforward to create your own widgets. You can install the htmlwidgets package from CRAN:

install.packages("htmlwidgets")

You can alternatively install the development version of htmlwidgets from GitHub as follows:

devtools::install_github('ramnathv/htmlwidgets')

There are several articles on the htmlwidgets website that will help you get you off the ground quickly and take advantage of all of the capabilities of the framework:

More Repositories

1

rCharts

Interactive JS Charts from R
JavaScript
1,189
star
2

slidify

Generate reproducible html5 slides from R markdown
R
848
star
3

rMaps

Interactive Maps from R
JavaScript
390
star
4

rNotebook

A browser based R Notebook
JavaScript
124
star
5

slidifyExamples

Sample Presentations
JavaScript
62
star
6

vuer

Harness the Power of Vue.js in R
R
41
star
7

bikeshare

Visualizing Bike Sharing Networks with rCharts and Shiny
CSS
39
star
8

rNVD3

Interactive Charts from R using NVD3.js
JavaScript
36
star
9

poirot

Reproducible Blogging with R Markdown
R
32
star
10

rChartsCalmap

An htmlwidgets binding for calendar heat maps using d3
JavaScript
31
star
11

rblocks

A fun and visual way to learn data structures and control flow in R.
R
26
star
12

rChartsCalendar

rCharts binding for CalMap
CSS
23
star
13

rChartsShiny

Interactive Visualizations with rCharts and Shiny
CSS
21
star
14

rbokeh

R Bindings to Bokeh
R
18
star
15

dashifyr

A dashboarding framework for R using Shiny
JavaScript
18
star
16

robservable

R package that brings observables to htmlwidgets, allowing for shiny-like interactivity in the browser
16
star
17

slidifyLibraries

This R package contains all external libraries required by slidify
JavaScript
15
star
18

rcstatebin

Interactive Statebin Charts
JavaScript
12
star
19

slickCarousel

jQuery Slick Carousel HTML Widget for R
JavaScript
11
star
20

RGoogleForms

Generate Google Forms from RMarkdown
JavaScript
10
star
21

pycon2014-r

CSS
10
star
22

corise-r-for-ds

CoRise | R for Data Science
Jupyter Notebook
10
star
23

agebyname

R Package to Explore Age vs. Name Relationships
R
9
star
24

slidify-old

Generate reproducible html5 slides from R markdown. This repository has moved to `ramnathv/slidify`
JavaScript
8
star
25

user2014-idocs

Interactive Documents with R: Tutorial at UseR2014
JavaScript
8
star
26

user2014-idocs-slides

Slides for Interactive Documents Tutorial at UseR 2014
JavaScript
6
star
27

sochi

Sochi Olympics Medal Tally using OpenCPU and rCharts
JavaScript
6
star
28

BARUG_Talk

HTML
6
star
29

slidifySite

JavaScript
4
star
30

sachin100s

Timeline of Sachin Tendulkar's 100 Centuries
JavaScript
3
star
31

justGage

justGage HTML Widget for R
JavaScript
3
star
32

NYCBikeShare

Visualizing NYC Bike Share with rCharts and Leaflet
R
3
star
33

ramnathv.ruhoh.com

JavaScript
3
star
34

dbt-explore

Jupyter Notebook
3
star
35

sphinx-test

CSS
3
star
36

agebyname_py

IPython Notebook to Explore Age vs. Name Relationships
3
star
37

Chicago-Mayoral-Elections

R
3
star
38

creating-dashboards-with-shiny-live-training

Dockerfile
3
star
39

carouselDemo

A short demo of how to use bootstrap carousels with Slidify
JavaScript
3
star
40

rstudio_logs

Visualizing RStudio Logs
2
star
41

skewedpositive

My Blog! WIP
HTML
2
star
42

gh3

R Functions to Github API V3
R
2
star
43

styleR

R
2
star
44

binder-shiny-5

Dockerfile
2
star
45

sphinx-test2

Python
2
star
46

learn-github-actions

A sandbox to learn and explore github actions
2
star
47

interactive2

Interactive Documents with R
JavaScript
2
star
48

topojson

CSS
2
star
49

mgcr271

Business Statistics
2
star
50

intellidate

Intelligent parsing of date-time strings
R
2
star
51

r-workshop-mcgill-2021-shiny

R
1
star
52

RExRepos

R Examples Repository
R
1
star
53

rCharts-rbison

rbison map with rCharts + Leaflet
JavaScript
1
star
54

knitr-pandoc

1
star
55

test-wiki

1
star
56

test-course-r1

R
1
star
57

swc-nw-dataviz

Data Visualization Notes, SWC NW 2014
JavaScript
1
star
58

me.jcsims

Code for http://jcsims.me
JavaScript
1
star
59

template-live-webinar-sql

Jupyter Notebook
1
star
60

rcisotype

Interactive Isotype charts using D3js
1
star
61

courses-test-h2o-py

Shell
1
star
62

test-codespaces-jupyter

Jupyter Notebook
1
star
63

r-workshop-mcgill-2021-interactive-plots

R
1
star
64

rvlib

An R package with useful utilities
R
1
star
65

rChartsExtra

Custom interactive charts that make use of rCharts
1
star
66

user2014-rcharts

Interactive Slides on rCharts. Presented at User 2014
JavaScript
1
star
67

poirotBlog

JavaScript
1
star
68

test-r-codespaces

Shell
1
star
69

ggson

Declarative way to produce plots using ggplot2
R
1
star
70

shinySlidify

Shiny apps in a Slidify Deck
JavaScript
1
star
71

testrepo

1
star