js + d3 + svg in H5p

Hi, I'm learning the basics to draw graphs with js+d3 and svg and I wonder if a graph like that can be added/displayed to some h5p content/container to display it on  question, text segment or in a tutorial, etc?...Any suggest where to load the necesary js scripts and datasets?..

 

Thanks!

 

Mauricio

 

falcon's picture

Hi, if you have a look at the charts content type it might help you get started. It uses d3 iirc.

Regards,
Svein-Tore