29.6 htmlwidgets
- htmlwidgets provide client-side interactivity, meaning all the interactivity happens in the browser, independently of R.
- You don’t need to know anything about HTML or JavaScript to use them because all the details are wrapped inside the package.
- There are many packages that provide htmlwidgets, including:
leaflet
for interactive mapdygraphs
for interactive time series visualizations.DT
for interactive tables.threejs
for interactive 3d plots.DiagrammeR
for diagrams (like flow charts and simple node-link diagrams).
- To learn more about htmlwidgets and see a complete list of packages that provide them visit https://www.htmlwidgets.org.