From 2cb0f73a4294318e68cc3c5ff6f684bab1444250 Mon Sep 17 00:00:00 2001 From: Shelby Sturgis Date: Fri, 25 Mar 2016 12:21:48 -0700 Subject: [PATCH] Closes #6. Fixes issue with scrollbar appearing after resizing visualization. --- public/vis/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/vis/index.js b/public/vis/index.js index 0181a14..1aafd3b 100644 --- a/public/vis/index.js +++ b/public/vis/index.js @@ -25,7 +25,7 @@ function vis() { chart.options(opts); d3.select(this) - .attr('width', size[0]) + .attr('width', '100%') .attr('height', size[1]) .call(events) .call(layout)