title: Laravel 5 and Lavacharts
body: <p>I'm trying to implement LavaCharts on Laravel 5 but have no idea how to render it. Trying to follow the documentation but it doesn't work on my part.</p>
  
  <p>Though not sure how to display it in View. Followed this but not working <a href="http://lavacharts.com/#example-donut" rel="nofollow">http://lavacharts.com/#example-donut</a>. Am I missing something? How do I call this function in the view?</p>
  
  <p>Here's my Controller</p>
  
  <pre><code>public function getPie () {
      $reasons = Lava::DataTable();
      $reasons-&gt;addStringColumn('Reasons')
      -&gt;addNumberColumn('Percent')
      -&gt;addRow(array('Check Reviews', 5))
      -&gt;addRow(array('Watch Trailers', 2))
      -&gt;addRow(array('See Actors Other Work', 4))
      -&gt;addRow(array('Settle Argument', 89));
  
      $donutchart = Lava::DonutChart('IMDB')
                 -&gt;setOptions(array(
                   'datatable' =&gt; $reasons,
                   'title' =&gt; 'Reasons I visit IMDB'
                 ));
      return $donutchart;
  }
  </code></pre>
  
  <p>Here's my View</p>
  
  <pre><code>&lt;div id="chart-div"&gt;&lt;/div&gt;
  @donutchart('IMDB', 'chart-div')
  </code></pre>