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.