官术网_书友最值得收藏!

  • Learning D3.js Mapping
  • Thomas Newton Oscar Villarreal
  • 242字
  • 2021-08-06 19:42:42

Chapter 1. Gather Your Cartographer's Toolbox

Welcome to the world of cartography with D3. In this chapter, you will be given all the tools you need to create a map using D3. These tools exist freely and openly, thanks to the wonderful world of open source. Given that we are going to be speaking in terms of the Web, our languages will be HTML, CSS, and JavaScript. After reading this book, you will be able to use all three languages effectively in order to create maps on your own.

When creating maps in D3, your toolbox is extraordinarily light. The goal is to focus on creating data visualizations and remove the burden of heavy IDEs and map-making software. The building blocks are as follows:

  • Quick bootstrap: We will cover installing Node.js, npm, and a lightweight server.
  • TopoJSON: We will see the working of this tool that is used to manage and optimize geographic information.
  • Web browser as a development tool: We will learn how to use a modern web browser, capable of rendering SVG files with built-in development tools. Some examples of common web browsers are Chrome, Firefox, Safari, and IE 9+.

    Note

    All screenshots and commands in this book have been done using Chrome. Therefore, we strongly recommend you to use this browser.

  • Installing sample code: We will take the first steps in getting to grips with coding.
  • Working with developer tools: We will get familiar with developer tools.
主站蜘蛛池模板: 九寨沟县| 饶平县| 奉贤区| 福海县| 赣榆县| 龙南县| 惠安县| 方山县| 镇赉县| 和林格尔县| 如皋市| 哈密市| 商水县| 依兰县| 丘北县| 全椒县| 山丹县| 高唐县| 镇雄县| 白山市| 六枝特区| 闵行区| 雷山县| 澜沧| 惠来县| 松原市| 来凤县| 涞源县| 青田县| 姚安县| 屯留县| 遵义市| 武定县| 祥云县| 合江县| 咸阳市| 霍城县| 北辰区| 呼伦贝尔市| 岱山县| 宜昌市|