/Learning-D3js-4-Mapping-Second-Edition

Learning D3.js 4 Mapping Second Edition, published by Packt

Primary LanguageHTMLMIT LicenseMIT

Learning D3.js 4 Mapping - Second Edition

This is the code repository for Learning D3.js 4 Mapping - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

This book explores the JavaScript library D3. js and its ability to help us create maps and amazing visualizations. You will no longer be confined to third-party tools in order to get a nice looking map. With D3. js, you can build your own maps and customize them as you please. This book will go from the basics of SVG, Canvas, and JavaScript, through to data trimming and modification with TopoJSON. Using D3. js to glue together these key ingredients, we will create very attractive maps that cover many common use cases, such as choropleths, data overlays on maps, interactivity, and performance.

Instructions and Navigation

Note: The name of book has been changed from "Learning D3.js 4 Mapping" to "Learning D3.js 5 Mapping". Updated code files are placed in "updated code" folder on GitHub"

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

context.save();
context.translate(140, 190);
context.fillRect(0, 0, 60, 30);
context.restore();

The following are the requirements for this book; these work on macOS, Windows, and Linux:

A D3.js library v4.12.0 Node.js v8.9.0+ npm for example, v5.5.1+

Related Products