d3Network
d3Network copied to clipboard
parentElement in d3Sankey template
Hi - thanks for this package, tried with shiny and works well!
the parentElement parameter currently doesn't work with d3Sankey() because of following references to "chart" in templates.R:
#chart { height: 500px; }
/*<p id=\"chart\"></p>*/
Thanks for identifying this!
I think I've fixed it. You can download the dev build from GitHub (devtools::install_github("christophergandrud/d3Network")) and test it out.
Also, active development has moved to networkD3. This has a cleaner interface with Shiny.