From 8d651ecaca4f981312c8125d2b75996d478f504d Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 2 Oct 2017 22:05:00 -0400 Subject: [PATCH] id for nodes g --- app.js | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@ - +