Skip to content

Instantly share code, notes, and snippets.

@seliopou
Created May 21, 2013 23:02
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 seliopou/5623971 to your computer and use it in GitHub Desktop.
Save seliopou/5623971 to your computer and use it in GitHub Desktop.
how to do that thing
var g = svg.selectAll('g')
.data(/* the data */)
g.enter().append('circle')
g.selectAll('circle')
.attr('r', function(d) { /* radius */ })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment