Make interactive 'd3.js' sequence sunburst diagrams in R with the convenience and infrastructure of an 'htmlwidget'.
Note: this is a working
htmlwidget first released in the Building Widgets htmlwidget-a-week project.
sunburstR has already seen extensive use in many projects across multiple domains. If you have any interest in collaborating with me on this project or applying
sunburstR, please let me know (see Time Isn't Money).
See the examples.
These are still far from feature-complete. I would love your input, feedback, and comments.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
sumNodes argument to correctly handle pre-summed trees, like
treemap::treemap to not double count the aggregate (see issue)
sund2b() htmlwidget for a d2b sunburst chart
allow turning off the legend with argument
legend = FALSE (see issue)
fix bug to not duplicate svg for breadcrumbs on resize or re-render
csv_to_hier()with delimiter argument and smart convert for root level
d3v4; thanks @cjyetman (see issue 36)
jsondatadeprecated in favor of single data argument (see issue 43)
see treemap example
sunburst()to allow fields in json to be something other than
colorsfor advanced color customization or to use a color field from data as the color fill commit
add_shinyand provide examples commit and commit