'Htmlwidget' for 'Kerry Rodden' 'd3.js' Sequence Sunburst

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).


Easily make these interactive d3.js sequence sunburst charts in R modeled on this example from Kerry Rodden. For more details, see this post Week 26 | sunburstR from the BuildingWidgets blog.

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.


sunburstR 0.6.3

  • use the new CRAN package d3r for d3.js dependencies

sunburstR 0.6.2

  • update d3.js to most recent tagged v3 release commit

sunburstR 0.6.1

  • add click to dispatch for click event handling commit
  • add click to add_shiny and provide examples commit and commit
  • try to fix breadcrumb sizing bug for Firefox, Safari commit

sunburstR 0.6

  • CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.2 by Kent Russell, 3 months ago


Report a bug at https://github.com/timelyportfolio/sunburstR/issues

Browse source code at https://github.com/cran/sunburstR

Authors: Mike Bostock [aut, cph] (d3.js library, http://d3js.org), Kerry Rodden [aut, cph] (sequences library in htmlwidgets/lib, https://gist.github.com/kerryrodden/7090426), Kent Russell [aut, cre] (R interface), Florian Breitwieser [ctb] (R interface), CJ Yetman [ctb] (R interface)

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports d3r, dplyr, htmlwidgets, htmltools

Suggests jsonlite, knitr, markdown, pipeR, testthat, tidyr

Enhances treemap

See at CRAN