开始使用D3JS作图

  • Install a light webserver

npm install -g http-server

  • Install topojson

npm install -g topojson

  • Clone the sample code with included libraries

git clone --depth=1 git@github.com:climboid/d3jsMaps.git

  • start the project

cd d3jsMaps

1
2
3
4
5
6
ProfeelsMacBook-Pro:d3jsMaps wangqi$ http-server
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8080
http://10.253.245.151:8080
Hit CTRL-C to stop the server

Profeel wechat
添加微信,加我好友,与我直接交流!

坚持原创技术分享,您的支持将鼓励我继续创作!