The fourth industrial revolution is digital, and there is now a deluge of data just waiting to be visualised - the question is does the R community have all the necessary tools to create amazing interactive visualisations?
Interactive visualisations help readers to understand the dynamic relationships that lie at the core of many scientific and social research fields. These visualisations intuitively connect readers with data content and make for a highly effective means of communication. For the R community creating these kinds of visualisations can be a challenge, as traditionally they would have been written in JavaScript. We have developed the sketch package in R to change this. Sketch makes creating JavaScript-based visualisations easy and accessible in R!
Sketch allows for real-time, bi-directional communication between R and JavaScript. This changes fundamentally how real-time outputs from a statistical model can be used to inform visualisation and decision making. It also makes possible a range of new ways to perform interactive exploratory analysis in R, such as agent-based modellings, creative coding and simulation-based spatial analysis.
The real beauty of Sketch though is removing the JavaScript language hurdle for the R community. This allows R users create JavaScript-based visualisations using the R syntax. This has the key advantages that:
- There is now a more flexible feedback mechanism in R between statistical models and interactive visualisations.
- Users can have greater control over the dynamic aspects of their interactive visualisations.
Visualisations produced in Sketch are also compatible with R favourites, such as the R Markdown documents or R6-style Object-Oriented Programming.
We welcome users to share their applications and creative examples using Sketch on our website. Can't wait to see what you create!