This commit is contained in:
2
.vscode/settings.json
vendored
Normal file
2
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
||||||
@@ -117,9 +117,8 @@
|
|||||||
|
|
||||||
// Standard projection - we'll rotate the entire SVG group
|
// Standard projection - we'll rotate the entire SVG group
|
||||||
const projection = d3.geoNaturalEarth1()
|
const projection = d3.geoNaturalEarth1()
|
||||||
.scale(200)
|
.scale(240)
|
||||||
.center([0, 0])
|
.center([0, 0])
|
||||||
.clipExtent([[0, 0], [width, height]])
|
|
||||||
.translate([width / 2, height / 2]);
|
.translate([width / 2, height / 2]);
|
||||||
|
|
||||||
const path = d3.geoPath().projection(projection);
|
const path = d3.geoPath().projection(projection);
|
||||||
|
|||||||
Reference in New Issue
Block a user