Open apoorv2210 opened 5 years ago
I was having the same problem. I think if you add options(r2d3.shadow = FALSE) to your r2d3() call, you'll be able to render your viz in the correct place https://rstudio.github.io/r2d3/reference/r2d3.html
Hope it helps!
I am experiencing the same issue. I tried @mpkrass7's options tip but did not do the trick for me. I would really appreciate any input.
I asked for help in this Github page with a minimally reproducible code attached.
https://github.com/nstrayer/js4shiny_r2d3/issues/1#issue-685584264
I am working on some visualization using the r2d3 package and integrating the d3output on a Shiny Dashboard.
While I completed what I thought would be the difficult chunks of work, I am stuck at a rather trivial stage.
After generating the d3output, I am not able to restrict it inside a box within a dashboardPage - it is covering the complete width of the page (including sidebarPanel) and eclipsing the dashboard, while the box where it is declared to appear is displaying as an empty box.
Please let me know what I might be missing out on here. I have spent a lot of time on this but have not been able to crack this one.
Please find a snip of the dashboard to better understand the issue.
Here is how I'm writing the code:
Due to the confidential nature of the data, I can't share the supporting files. Pardon me for the partial content.
-- Thanks & Regards, Apoorv Mehrotra