search for: mbostock

Displaying 2 results from an estimated 2 matches for "mbostock".

Did you mean: bostock
2012 Nov 30
4
Nightingale’s Rose chart-any suggestion?
Hello, Everyone. Does anyone know how to create a Nightingale’s Rose chart by using R? Hopefully, the graph could be displayed like this: http://mbostock.github.com/protovis/ex/crimea-rose.html Thanks a lot. Kind regards, Henry [[alternative HTML version deleted]]
2012 Dec 01
1
reading json tables
I'm trying to read two data sets in json format from a single .js file. I've tried fromJSON() in both RJSONIOIO and RJSON packages, but they require that the lines be pre-parsed somehow in ways I don't understand. Can someone help? > wheat <- readLines("http://mbostock.github.com/protovis/ex/wheat.js") > str(wheat) chr [1:70] "var wheat = [" " { year: 1565, wheat: 41, wages: 5 }," ... > The wheat.js file looks like this and defines two tables: wheat and monarch: var wheat = [ { year: 1565, wheat: 41, wages: 5 }, { yea...