The foo package provides several types of hierarchical visualizations, most of which are interactive. The visualizations include Sankey, Partition, Sunburst and Icicle.
All visualizations can be accessed with the function hiervis, and explored with the function hiervis_demo, which starts a Shiny app.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.