From 970b221593204ed11dda78284bdc7581cb840d0c Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 2 Oct 2017 21:16:42 -0400 Subject: [PATCH] width/height --- app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 7b5328f..7e36a40 100644 --- a/app.js +++ b/app.js @@ -1 +1,6 @@ -console.log(d3); +var WIDTH = 300; +var HEIGHT = 200; + +d3.select("svg") + .attr("width", WIDTH) + .attr("height", HEIGHT);