# A basic standalone example of the HTMLTable reader

This is a basic example of using the HTMLTable reader. You don't need to add the RGraph common core library to your page to use the HTNMLTable reader.

| Figure 1 | Figure 2 | Figure 3 | Figure 4 |
--- | --- | --- | --- | --- | ---
Richard | 8 | 45 | 13.58 | 10 | 76.58
Julie | 5 | 52 | 45.12 | 10.0 | 76.58
Gary | 4 | 35 | 442.2 | 10.00 | 112.12
David | 9 | 94 | 93.257 | 10.000 | 204.257
Charlie | 6 | 53 | 45.277 | 10.0000 | 304.257
Jacky | 1 | 46 | 53.787 | 10.0000 | 104.257
Nevil | 8 | 99 | 91.852 | 10.00000 | 351.257

This goes in the documents header:

    <script src="RGraph.common.table.js"></script>

This is the code that generates the chart - it should be placed AFTER the canvas tag(s):

    <script>
        RGraph.HTMLTable('myTable', function (table)
        {
            var row = table.row(1);

            console.log(table.data);

            alert(row);
        });
    </script>