block by timelyportfolio cbc31718ffdf39dd838a86cb94f70cc1

vue d3 treemap in Rmd

This is a R markdown version of the vue d3 treemap example. Rmd allows us to stay closer to our R context and also takes fuller advantage of the vueR package helpers. If we separated out the <template></template> and <script>...</script> piece into a JavaScript .js file, then the Rmd would be even cleaner and entirely R.

View the Rmd in raw to see everything.

app.Rmd