Skip to content

Instantly share code, notes, and snippets.

@lostinplace
Created May 22, 2013 14:06
Show Gist options
  • Save lostinplace/5627785 to your computer and use it in GitHub Desktop.
Save lostinplace/5627785 to your computer and use it in GitHub Desktop.
modularity testing
{"editor_editor":{"coffee":false,"vim":false,"emacs":false,"width":600,"height":300,"hide":false},"description":"modularity testing","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.svg":{"default":true,"vim":false,"emacs":false,"fontSize":12},"dat.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
[
150,
200,
350,
500,
10
]
var svgContainer = d3.select("svg");
var circles = svgContainer.selectAll()
.data(tributary.dat)
.enter()
.append("circle").attr(
{fill:"purple",
cx:function(x){return x},
cy:function(x){return x},
r:35})
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment