Find modern, interactive web-based charts for R at the htmlwidgets gallery

March 3, 2017
By

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

While R's base graphics library is almost limitlessly flexible when it comes to create static graphics and data visualizations, new Web-based technologies like d3 and webgl open up new horizons in high-resolution, rescalable and interactive charts. Graphics built with these libraries can easily be embedded in a webpage, can be dynamically resized while maintaining readable fonts and clear lines, and can include interactive features like hover-over data tips or movable components. And thanks to htmlwidgets for R, you can easily create a variety of such charts using R data and functions, explore them in an interactive R session, and include them in Web-based applications for others to experience.

This htmlwidgets showcase allows you to try out a few such charts, but to see the full diversity of charts available check out the new htmlwidgets gallery. It's an index of packages on CRAN and on Github that create htmlwidgets visualizations. (Be sure to turn OFF the "CRAN Only" switch in the top-right corner to see the full range available.)

Htmlwidgets

There's a huge range of charts to explore, including scrollable geographic maps, heat mapsword clouds, streamgraphs, bubble charts and much much more. There are also general interfaces to interactive graphics systems like Plotly and Bokeh. Browse around the gallery to find a chart of interest, click to find the associated R package, install it, and get visualizing!

By the way, while interactive charts are great for hands-on applications, they're not necessarily so helpful for printed reports or presentations. If you're looking for R graphics of the static variety, check out the R Graph Gallery. But if interactive and Web-enabled is your thing, check out the link below. 

htmlwidgets for R: Gallery

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)