changed map

This commit is contained in:
alicestrt 2021-03-01 14:56:50 +01:00
parent fc4987780f
commit 903a1d816f

6
static/js/d3_map.js vendored
View File

@ -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]);