setup_js_html | R Documentation |
Sets up the html and javascript scripts in the current folder for visualization.
setup_js_html()
Copies inst/scripts and inst/viz.html from package to the current folder. Then inserts subfolder names under "dats/" that contain "cors.json", "dat.json", "diffs.json" and "graphs.json" in viz.html between the lines "folder_names = [" and "]".
Does not return anything.
setup_js_html()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.