The fine author Joe Cheng of RStudio Shiny suggested in this Google Groups message to use htmlOutput rather than the ugly hack in my last post R Shiny svg with no d3. As I should have known, it works great and eliminates all the useless javascript. Unless, you dig into the code, nothing changes, but I have posted a new glimmer live example and the code at Github. For the ambitious, please feel free to use d3 now or other code to show how we could change colors and other aesthetics with javascript.
No comments:
Post a Comment