From 903a1d816fa82a090068d8251d61327ec1c47fff Mon Sep 17 00:00:00 2001 From: alicestrt Date: Mon, 1 Mar 2021 14:56:50 +0100 Subject: [PATCH] changed map --- static/js/d3_map.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/d3_map.js b/static/js/d3_map.js index 0f8e103..ef8fb00 100644 --- a/static/js/d3_map.js +++ b/static/js/d3_map.js @@ -4,12 +4,12 @@ var width = 700, var svg = d3.select(".map_area").append("svg") .attr("width", width) .attr("height", height) - .attr("viewBox", `${-width/1.7} ${-height/1.6} ${width*2.3} ${height*2.2}`); + .attr("viewBox", `${-width/1.7} ${-height/1.8} ${width*2.3} ${height*2.2}`); var force = d3.layout.force() .gravity(0.008) - .distance(200) - .charge(-40) + .distance(180) + .charge(-35) .size([width, height]);