Basics of JavaScript and D3 for R Users by Jerzy Wieczorek.
From the post:
Hadley Wickham, creator of the
ggplot2
R package, has been learning JavaScript and its D3 library for the next iteration ofggplot2
(tentatively titledr2d3
?)… so I suspect it’s only a matter of time before he pulls the rest of the R community along.Below are a few things that weren’t obvious when I first tried reading JavaScript code and the D3 library in particular. (Please comment if you notice any errors.) Then there’s also a quick walkthrough for getting D3 examples running locally on your computer, and finally a list of other tutorials & resources. In a future post, we’ll explore one of the D3 examples and practice tweaking it.
Perhaps these short notes will help other R users get started more quickly than I did. Even if you’re a ways away from writing complex JavaScript from scratch, it can still be useful to take one of the plentiful D3 examples and modify it for your own purposes.
Just in case you don’t have time today to build clusters on EC2. 😉
Being mindful that delivery of content is what leads to sales.
Or, knowing isn’t the same as showing.
The first may make you feel important. The second may lead to sales.
Up to you.