Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
reading from a csv?
[15:43:47.273] GET http://local_ip:8089/temp.csv [HTTP/1.0 200 OK 2ms]
[15:43:47.219] TypeError: data is null @ file:///local/user/tutorial/simple.js:2
d3.csv('http://local_ip:8089/temp.csv', function(data) {
data.forEach(function(d){
console.log(d)
d.index +d.index;
})
});
index size ratio
1 475 105
2 221 109
3 141 109
4 138 110
5 133 114
6 129 114
7 128 116
8 124 117
9 123 121
10 121 121
11 121 121
12 121 123
13 117 124
14 116 128
15 114 129
16 114 133
17 110 138
18 109 141
19 109 221
20 105 475
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.