block by gka 2928236

Miso.Dataset auto column names

Full Screen

index.html

<html>
<head>
<script src="miso.ds.deps.min.0.1.3-latest.js"></script>
</head>
<body>
<script>
    var ds = new Miso.Dataset({
        url : 'data.csv',
        delimiter : "\t",
    }).fetch({
        success: function() {
            console.log("Available Columns:" + this.columnNames());
            console.log("There are " + this.length + " rows");
            console.log(this);
        }
    });
</script>
</body>
</html>

data.csv

	1995	2000	2005	2010
Germany	29	25	28	29
France	29	28	28	30
Greece	35	33	33	33