Get started with datalib CDN

BSD-3-Clause licensed

Datalib is a Python library for managing, processing, and analyzing data.

Tags:
  • data
  • table
  • statistics
  • parse
  • csv
  • tsv
  • json
  • utility

Stable version

Copied!

How to start using datalib CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with datalib CDN - cdnhub.io</title>
  <script src="https://cdn.cdnhub.io/datalib/1.9.3/datalib.min.js"></script>
</head>
<body>
  <script>
    // Create a new DataTable using the library
    const dataTable = new datalib.DataTable({
      container: document.getElementById('dataTable'), // Container ID
      columns: [ // Column definitions
        { title: 'Name', dataIndex: 'name' },
        { title: 'Age', dataIndex: 'age' },
      ],
      data: [ // Data to be displayed
        { name: 'John Doe', age: 30 },
        { name: 'Jane Doe', age: 25 },
      ],
    });

    // Render the DataTable
    dataTable.render();
  </script>
</body>
</html>
Copied!
Copied!

All versions