# Can not insert D3 html object into static page

**URL:** <https://discourse.gohugo.io/t/can-not-insert-d3-html-object-into-static-page/24729>\
**Category:** support\
**Created:** [April 13, 2020, 11:19pm UTC](https://discourse.gohugo.io/t/can-not-insert-d3-html-object-into-static-page/24729 "2020-04-13T23:19:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blake\_Shurtz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/blake_shurtz/32/11070_2.png) [@Blake\_Shurtz](https://discourse.gohugo.io/u/Blake_Shurtz)\
**Post date:** [April 13, 2020, 11:19pm UTC](https://discourse.gohugo.io/t/can-not-insert-d3-html-object-into-static-page/24729/1 "2020-04-13T23:19:40Z")

</div>

Hi, I’m working on a static website hosted on GitHub. I created a Sankey Diagram in R using the NetworkD3 package, which I’ve exported as an HTML file. A link to the file is [here](https://github.com/blakeshurtz/blakeshurtz.github.io/blob/master/img/portfolio/sankey.html).

I would like to insert the diagram into my static page but I can’t seem to get it to work on a local deployment. I’ve copied and pasted all the HTML into the static/markdown page but no luck. Can I get some help?

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [April 14, 2020, 12:46am UTC](https://discourse.gohugo.io/t/can-not-insert-d3-html-object-into-static-page/24729/2 "2020-04-14T00:46:28Z")

</div>

Hi there,

Please have a read about [Requesting Help](https://discourse.gohugo.io/t/requesting-help/9132)
