Sketch

A R-to-JavaScript transpiler written in R

Learn more

What is Sketch?

Sketch is an R package for creating animated and interactive visualisations, and is designed for scientists, journalists, artists and business users. It lets users write JavaScript applications using the R syntax by implementing an R-to-JavaScript transpiler.

Created using this package! Refresh to see new colors.

Easy to use and deploy

Develop your app in R and deploy it as a standalone HTML webpage (via R Markdown document), a Shiny app or even a JavaScript library!

Work with any JavaScript library

Step up your visualisation game leveraging the popular JavaScript visualisation libraries like p5, d3, vegalite, threejs and leaflet.

Full-featured

Support DOM manipulation, R-like data structure, loading of tabular data, modules development, transpiler customisation and R6-like object-oriented programming.