Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

October 23, 2012

Basics of JavaScript and D3 for R Users

Filed under: D3,Javascript,R — Patrick Durusau @ 10:58 am

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 of ggplot2 (tentatively titled r2d3?)… 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.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress