Here's an example of a dashboard thats made up of Horizontal Bar charts, Bar charts and a Pie chart. There are various ways shown of visualising the same data. Each chart uses its own SVG tag and the DIV tags that you specify are shown below.
<script src="RGraph.svg.common.core.js"></script> <script src="RGraph.svg.hbar.js"></script> <script src="RGraph.svg.bar.js"></script> <script src="RGraph.svg.pie.js"></script>Put this where you want the chart to show up:
<div style="border: 1px solid gray; width: 750px; height: 600px"> <div style="width: 375px; height: 200px; float: left" id="cc1"></div> <div style="width: 375px; height: 200px; float: left" id="cc2"></div> <div style="width: 150px; height: 200px; float: left" id="cc3"></div> <div style="width: 150px; height: 200px; float: left" id="cc4"></div> <div style="width: 150px; height: 200px; float: left" id="cc5"></div> <div style="width: 150px; height: 200px; float: left" id="cc6"></div> <div style="width: 150px; height: 200px; float: left" id="cc7"></div> <div style="width: 750px; height: 200px; float: left" id="cc8"></div> </div>This is the code that generates the chart: