diff --git a/index.html b/index.html index 4397d24..41fd086 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - + diff --git a/script/script.js b/script/script.js index a855f17..aeb421e 100644 --- a/script/script.js +++ b/script/script.js @@ -13,14 +13,14 @@ if (error) throw error; var link = svg.append("g") - .attr("class", "links") + .attr("class", "links") .selectAll("line") .data(graph.links) .enter().append("line") - .attr("stroke-width", function(d) { return Math.sqrt(d.value); }); + .attr("stroke-width", function(d) { return Math.sqrt(d.value); }); var node = svg.append("g") - .attr("class", "nodes") + .attr("class", "nodes") .selectAll("text") .data(graph.nodes) .enter().append("text")