title: How to embed bokeh js output figure inside a div element?
body: <p>I have following HTML and JS code(pasted below) to create Bokeh-JS pie chart. But its not giving expected result. Bokeh plots are not getting embedded inside div elements of HTML code. </p>
  
  <p>Am I missing something here? Also I've attached output of the code.     </p>
  
  <p>HTML code :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
      &lt;link rel="stylesheet" href="http://cdn.bokeh.org/bokeh/release/bokeh-0.12.13.min.css"&gt; 
      &lt;link rel="stylesheet" href="http://cdn.bokeh.org/bokeh/release/bokeh-widgets-0.12.13.min.css"&gt; 
      &lt;link rel="stylesheet" href="http://cdn.bokeh.org/bokeh/release/bokeh-tables-0.12.13.min.css"&gt;
      &lt;style&gt;
      .floating-box {
          display: inline-block;
          width: 150px;
          height: 75px;
          margin: 10px;
          border: 3px solid #73AD21;  
      }
  
      &lt;/style&gt;
  
      &lt;title&gt;&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  
      &lt;div id="container"&gt;
      &lt;div id="button"&gt;
                  &lt;button id="pie_report" type='button' value="Pie Report"
                      name="Pie Report" class="button button1" onClick="execute()"&gt;Pie_Report&lt;/button&gt;
      &lt;/div&gt;
  
      &lt;div id="bokeh_ch1" class="floating-box"&gt; 
      &lt;/div&gt;              
  
      &lt;div id="bokeh_ch2" class="floating-box"&gt; 
      &lt;/div&gt;      
      &lt;/div&gt;              
  
  &lt;/body&gt;
  &lt;script src="http://cdn.bokeh.org/bokeh/release/bokeh-0.12.13.min.js"&gt;&lt;/script&gt;         
  &lt;script src="http://cdn.bokeh.org/bokeh/release/bokeh-widgets-0.12.13.min.js"&gt;&lt;/script&gt; 
  &lt;script src="http://cdn.bokeh.org/bokeh/release/bokeh-tables-0.12.13.min.js"&gt;&lt;/script&gt; 
  &lt;script src="http://cdn.bokeh.org/bokeh/release/bokeh-api-0.12.13.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="my_js.js"&gt;&lt;/script&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>my_js.js file code:</p>
  
  <pre><code>function execute(){ 
  
      var plt =  Bokeh.Plotting;
  
      var pie_data = {
          labels: ['Work', 'Eat', 'Commute', 'Sport', 'Watch TV', 'Sleep'],
          values: [8, 2, 2, 4, 0, 8],
      };
  
      var inc_sr={labels:['incident','Sr'],
          values: [53,65]
  
      };
       var p0 = Bokeh.Charts.pie(inc_sr,{palette:['#FF8C00'   ,'#A0522D'],
          inner_radius: 0.0,width:20,height:20,
          start_angle: Math.PI / 2,
          end_angle: 5 * Math.PI / 2
      });
      var p1 = Bokeh.Charts.pie(pie_data);
  
  
          document.getElementById('bokeh_ch1').innerHTML=plt.show(p0); 
      document.getElementById('bokeh_ch2').innerHTML=plt.show(p1);
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/pKdob.png" rel="nofollow noreferrer"> Attaching output of this code when I hit Pie_Report button</a></p>