- Learning D3.js Mapping
- Thomas Newton Oscar Villarreal
- 187字
- 2021-08-06 19:42:42
Quick bootstrap
If you're already familiar with working in D3 or web development, go ahead and set up your workstation based on the following commands by jumping directly to the Step-by-step bootstrap section.
A detailed explanation of this chapter's concepts will be covered if further instructions are needed. By the end of the chapter, you should feel comfortable in using the Quick bootstrap section as a convention throughout the book. The following instructions assume that Node.js and npm are already installed on your system.
Type in the following in the command line:
# 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 http-server
Tip
Downloading the example code
You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
Now, open your web browser to http://localhost:8080/chapter-1/example-1.html
, and you should see the following map:

- 大數據項目管理:從規劃到實現
- Mastering Hadoop 3
- Design for the Future
- 網上沖浪
- 手把手教你玩轉RPA:基于UiPath和Blue Prism
- Hands-On Data Science with SQL Server 2017
- PyTorch深度學習實戰
- Deep Reinforcement Learning Hands-On
- 多媒體制作與應用
- 水晶石影視動畫精粹:After Effects & Nuke 影視后期合成
- 21天學通Linux嵌入式開發
- 基于Proteus的單片機應用技術
- Web編程基礎
- FreeCAD [How-to]
- Machine Learning in Java