The R package {sankeyD3plus} lets you create 'D3' 'JavaScript' Sankey diagrams in R.
This package is heavily based on this fork from {sankeyD3}, which in turn is based on {networkD3} and d3-sankey. I decided to create {sankeyD3plus} because
- {sankeyD3} has not been maintained for years and the author does not seem to respond to issues
- the mentioned fork added a significant improvement
- I wanted to add helper functions
- I wanted to add more examples in the documentation
You can install sankeyD3plus
like so:
remotes::install_github('SchmidtPaul/sankeyD3plus')
Check out the Examples page!