diff --git a/app.js b/app.js index 6b24a64..441baab 100644 --- a/app.js +++ b/app.js @@ -23,7 +23,7 @@ var linksData = [ {"source": "Emerald", "target": "Rachel"} ]; -var nodes = d3.select("g") +var nodes = d3.select("#nodes") .selectAll("circle") .data(nodesData) .enter() diff --git a/index.html b/index.html index fa84eee..3032a97 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - +