- 博客(1)
- 收藏
- 关注
原创 D3.js绘制中国地图填充溢出问题
问题描述: 在用d3.js绘制中国地图时,如果中国地图geoJSON数据取自 阿里云geoJSONhttps://datav.aliyun.com/tools/atlas/ 注意数据版本图中数据版本v2 同时使用d3库对数据直接进行解析 const projection = d3.geoMercator() .scale(height * 0.9).center([107, 31]) .translate([width / 2, height / 2]); const path = d3.geo
2021-05-12 19:26:30
1190
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人