Get started with highchartTable CDN

MIT licensed

Highcharts Table is a library that enables rendering of interactive HTML tables based on Highcharts data.

Tags:
  • highcharts
  • chart
  • table
  • ui
  • graphics
  • graphs

Stable version

Copied!

How to start using highchartTable CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with highchartTable CDN - cdnhub.io</title>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js"></script>
    <script src="https://cdn.cdnhub.io/highchartTable/2.0.0/jquery.highchartTable.min.js"></script>
    <script src="https://code.highcharts.com/highcharts.js"></script>
    <script src="https://code.highcharts.com/modules/exporting.js"></script>
    <script src="https://code.highcharts.com/modules/export-data.js"></script>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css">
    <style>
        #container {
            width: 100%;
            height: 500px;
        }
    </style>
</head>
<body>
    <div id="container"></div>
    <script>
        $(document).ready(function() {
            Highcharts.chart('container', {
                title: {
                    text: 'Sample Data'
                },
                data: {
                    table: {
                        columns: ['Country', 'Population'],
                        data: [
                            ['United States', 328223957],
                            ['China', 1439323776],
                            ['India', 1380004385],
                            ['Indonesia', 273523615],
                            ['Brazil', 211112136],
                            ['Pakistan', 220892340],
                            ['Bangladesh', 164689383],
                            ['Russia', 145934462],
                            ['Mexico', 130222844],
                            ['Japan', 126476852]
                        ]
                    }
                },
                plotOptions: {
                    series: {
                        borderWidth: 0
                    }
                },
                series: [{
                    name: 'Population',
                    data: []
                }]
            });

            $('#container').highchartsTable();
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!

All versions