block by timelyportfolio d49cb07923eff7a75886

rCharts + d3.js interactive view of a rpart / partykit recursive partioning object

Full Screen

in reply to this tweet

Anyone made interactive (tooltips, zoomable, etc.) plots of CART analyses in R? @timelyportfolio @yaacovp @xieyihui @ramnath_vaidya?

— Andrew Menzel (@menzbasketball) September 3, 2014

I put a quick rCharts example together forking this fine collapsible d3 tree with pan/zoom.

I have included the code for this particular example in this gist. Also this rCharts_rpart repo contains some experiments and the pieces needed for rCharts.

live example

If you care, this is a work in progress, so please, please provide feedback, comments, suggestions.

code.R