'How can I insert interactive content into Wordpress CMS?

I'm trying to insert interactive, mobile responsive graphs and charts into WordPress.

My original methodology was to use Altair/Folium to generate a HTML rendering of the map/chart, which I would then upload into WordPress' media library then imbed with an iframe into my post. Turns out that's a security issue.

What's the most effective way I can put interactive content into my WordPress posts?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source