//ããã¸ã§ã¯ã·ã§ã³è¨å® var projection = d3 .geoMercator() //æå½±æ³ã®æå® .scale(16000) //ã¹ã±ã¼ã«ï¼ãºã¼ã ï¼ã®æå® .rotate([-0.25, 0.25, 0]) //å°å³ãå転ããã[x,y,z] .center([139.0032936, 36.3219088]); //ä¸å¿ã®åº§æ¨ãæå® //ãã¹ã¸ã§ãã¬ã¼ã¿ã¼çæ var path = d3.geoPath().projection(projection); //å°å³ç¨ã®ã¹ãã¼ã¸(SVGã¿ã°)ãä½æ var map = d3.select("body") .append("svg") .attr("width", 960) .attr("height", 500); //å°çãã¼ã¿èªã¿è¾¼ã¿ d3.json("gunma.geojson", drawMaps); //å°å³ãæç»
{{#tags}}- {{label}}
{{/tags}}