g.js — graphical objects for JavaScript

keyskeys

Get the keys from a table.

Imagine you have this data file, using import:

g.import('people.csv');

The keys function will give you the column headers:

var data = g.import('people.csv');
g.keys(data);