You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to r2d3. I found sometimes it is difficult to view directly through rmarkdown d3 chunk or through r2d3 function. Are there any quick ways that I don't need to worry about height and weight, and make the interactive plot in the appropriate position in html? Thanks!
Best,
Siwei
The text was updated successfully, but these errors were encountered:
I haven't used r2d3 in a while, but as far as I remember the chart container is resized automatically (see Sizing on this vignette).
Your problem might be related to the d3 Rmd chunk (I am not familiar with it) or you might be hard-coding the sizes in js instead of using width and height provided by r2d3.
It'd be helpful if you could provide a short reprex.
Good afternoon!
I am new to r2d3. I found sometimes it is difficult to view directly through rmarkdown d3 chunk or through r2d3 function. Are there any quick ways that I don't need to worry about height and weight, and make the interactive plot in the appropriate position in html? Thanks!
Best,
Siwei
The text was updated successfully, but these errors were encountered: