Text Panel - Enbed C3 JS graphs in dashboards


I have some html files where I have some graphs created by C3 JS. I embed them in my dashboards by iframe using text panels, but I would like to find another way of achieving this as iframe doesn’t work in https.

Any suggestion?