Skip to content

Instantly share code, notes, and snippets.

@hyonschu
Created August 26, 2014 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyonschu/bc62b1b7694b3d8ffddc to your computer and use it in GitHub Desktop.
Save hyonschu/bc62b1b7694b3d8ffddc to your computer and use it in GitHub Desktop.
d3.csv('iris.csv', function(data)
{
canvas.selectAll("g")
.data(data)
.enter()
.append('circle')
.attr({
'cx': function(d, i) {
return i*5;
},
'cy': function(d) {
return d.sepalL;
},
'r': function (d) {
return d.sepalL;
}
})
.s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment