# Why cant embed a single visualization to my web page?

**URL:** https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180
**Category:** Kibana
**Created:** [February 2, 2018, 8:12am UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180 "2018-02-02T08:12:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![chinukapoor](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@chinukapoor](https://discuss.elastic.co/u/chinukapoor)
#### Post date: [February 2, 2018, 8:12am UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180/1 "2018-02-02T08:12:46Z")

</div>

Hi,  
I am not able to embed my visualizations to my custom webpage using the iframe approach. it should be straight forward. However, the iframe's embedding approach of dashboards works just fine.  
Kibana version : 6.1.2

---

<div class="post-metadata">

### Author: ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)
#### Post date: [February 2, 2018, 8:00pm UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180/2 "2018-02-02T20:00:01Z")

</div>

Hi Chinu,

Can you provide details about what you're doing and how you're doing it?

---

<div class="post-metadata">

### Author: ![chinukapoor](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@chinukapoor](https://discuss.elastic.co/u/chinukapoor)
#### Post date: [February 5, 2018, 7:18am UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180/3 "2018-02-05T07:18:57Z")

</div>

Hi Archana,

I am trying to embed a visualization using the iframe wrapper approach. But after i embed, it only shows the edit options and not the visualization per say.

 ![Screenshot%20from%202018-02-05%2012-43-26](https://us1.discourse-cdn.com/elastic/original/3X/a/e/aedd9fd0ca1bd36b7241095c0ade635c14b9f3c1.png)

I was able to do a workaround by changing the height and width which gives me the following:

 ![Screenshot%20from%202018-02-05%2012-47-09](https://us1.discourse-cdn.com/elastic/original/3X/8/4/84f29fb0751ce44d9bb5655af0fcb6122f3924d3.png)

This is still okay, but i don't want the users to edit at all. I just them to view the visualizations, that's all.In-short, i don't wish to view the edit panel. I have tried this :  
[https://www.elastic.co/videos/kibana-4-tutorial-part-3-embedding-visualizations](https://www.elastic.co/videos/kibana-4-tutorial-part-3-embedding-visualizations)

But somehow, it fails to work. In the above video, the visualization the edit options does not appear, but when i follow the same steps, somehow the edit option always appears.  
What am i missing?

---

<div class="post-metadata">

### Author: ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)
#### Post date: [February 6, 2018, 5:19pm UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180/4 "2018-02-06T17:19:38Z")

</div>

Chinu,  
That is strange. Can you paste the iframe code that you're using in your html page?

I found a similar question [here](https://discuss.elastic.co/t/kibana-dashboard-embed-in-iframe/93776/4) where it was recommended to style the iframe as needed, but no mention of the edit panel. Maybe looking at your iframe source code can help me see what's going on.

---

<div class="post-metadata">

### Author: ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)
#### Post date: [February 6, 2018, 5:23pm UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180/5 "2018-02-06T17:23:08Z")

</div>

What version of kibana are you using? Looks like this is a known issue that was fixed. [https://github.com/elastic/kibana/issues/13822](https://github.com/elastic/kibana/issues/13822)

---

<div class="post-metadata">

### Author: ![dsnider](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsnider/32/44068_2.png) [@dsnider](https://discuss.elastic.co/u/dsnider)
#### Post date: [February 6, 2018, 5:56pm UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180/6 "2018-02-06T17:56:33Z")

</div>

Yeah, this one was recently fixed, but I think it was a problem for 6.x until very recently.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 6, 2018, 5:57pm UTC](https://discuss.elastic.co/t/why-cant-embed-a-single-visualization-to-my-web-page/118180/7 "2018-03-06T17:57:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
