From a91ba3aa2cc160842d36e50cf646cc27c0383b6c Mon Sep 17 00:00:00 2001 From: Shelby Sturgis Date: Fri, 25 Mar 2016 12:45:07 -0700 Subject: [PATCH] Closes #8. Fixes issue with scrollbar appearing after resizing the 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 1bf2aa2..44be53d 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)