Learning D3.js Mapping

Build stunning maps and visualizations using D3.js
Preview in Mapt

Learning D3.js Mapping

Thomas Newton, Oscar Villarreal

1 customer reviews
Build stunning maps and visualizations using D3.js
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.50
RRP $14.99
Save 29%
Print + eBook
$24.99
RRP $24.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.50
$24.99
$29.99 p/m after trial
RRP $14.99
RRP $24.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learning D3.js Mapping Book Cover
Learning D3.js Mapping
$ 14.99
$ 10.50
Data Visualization with D3 4.x Cookbook - Second Edition Book Cover
Data Visualization with D3 4.x Cookbook - Second Edition
$ 35.99
$ 25.20
Buy 2 for $28.00
Save $22.98
Add to Cart

Book Details

ISBN 139781783985609
Paperback126 pages

Book Description

D3.js is a visualization library used for the creation and control of dynamic and interactive graphical forms. It is a library used to manipulate HTML and SVG documents based on data. A consolidated resource on obtaining geographic data, modifying it to your convenience, and visualizing it with augmented data using D3.js, this book will meet your mapping needs.

Starting with a working map, you will explore the tools required to start the construction process, further moving on to cover the fundamentals of SVG and understanding its relation to creating maps using D3. Equipped with this overview, you will learn to make optimum use of D3's mapping, covering the main enter, update, and exit methods that allow D3.js to do its magic. Dealing with data joining and pairing with HTML and SVG, you will be introduced to different aspects of GEO data, along with the common file formats and converting data into GeoJSON and TopoJSON. You will learn to apply interactivity to your maps and create stunning visualizations before  finally ensuring problem-free development with a chapter on troubleshooting.

Table of Contents

Chapter 1: Gather Your Cartographer's Toolbox
Quick bootstrap
Step-by-step bootstrap
Optimizing geographic data files with TopoJSON
Using the web browser as a development tool
Summary
Chapter 2: Creating Images from Simple Text
Introduction – general knowledge
Positioning elements
Line
Rectangle
Circle
Polygon
Path
Transform
Grouping
Text
Summary
Chapter 3: Producing Graphics from Data – the Foundations of D3
Creating basic SVG elements
Enter
Update
Exit
AJAX
Summary
Chapter 4: Creating a Map
Foundation – creating your basic map
Experiment 1 – adjusting the bounding box
Experiment 2 – creating choropleths
Experiment 3 – adding click events to our visualization
Experiment 4 – using updates and transitions to enhance our visualization
Experiment 5 – adding points of interest
Experiment 6 – adding visualizations as a point of interest
Summary
Chapter 5: Click-click Boom! Applying Interactivity to Your Map
Events and how they occur
Experiment 1 – hover events
Experiment 2 – tooltips with visualizations
Experiment 3 – panning and zooming
Experiment 4 – orthographic projections
Experiment 5 – rotating orthographic projections
Experiment 6 – dragging orthographic projections
Summary
Chapter 6: Finding and Working with Geographic Data
GeoData file types
Summary
Chapter 7: Testing
Code organization and reusable assets
Project structure
Writing testable code
Unit testing
Creating resilient visualization code
Summary

What You Will Learn

  • Access data resources to make maps and learn how to modify structures
  • Render your maps on a browser
  • Style your maps according to your needs and bind events to maps to make them interactive
  • Tie paths to the geospatial data to outline an SVG map
  • Use Chrome Dev Tools in order to inspect created code
  • Fetch data through AJAX calls with the assistance of the D3.js library
  • Work with data structures and compose blocks of logic into reusable functions
  • Troubleshoot your code

Authors

Table of Contents

Chapter 1: Gather Your Cartographer's Toolbox
Quick bootstrap
Step-by-step bootstrap
Optimizing geographic data files with TopoJSON
Using the web browser as a development tool
Summary
Chapter 2: Creating Images from Simple Text
Introduction – general knowledge
Positioning elements
Line
Rectangle
Circle
Polygon
Path
Transform
Grouping
Text
Summary
Chapter 3: Producing Graphics from Data – the Foundations of D3
Creating basic SVG elements
Enter
Update
Exit
AJAX
Summary
Chapter 4: Creating a Map
Foundation – creating your basic map
Experiment 1 – adjusting the bounding box
Experiment 2 – creating choropleths
Experiment 3 – adding click events to our visualization
Experiment 4 – using updates and transitions to enhance our visualization
Experiment 5 – adding points of interest
Experiment 6 – adding visualizations as a point of interest
Summary
Chapter 5: Click-click Boom! Applying Interactivity to Your Map
Events and how they occur
Experiment 1 – hover events
Experiment 2 – tooltips with visualizations
Experiment 3 – panning and zooming
Experiment 4 – orthographic projections
Experiment 5 – rotating orthographic projections
Experiment 6 – dragging orthographic projections
Summary
Chapter 6: Finding and Working with Geographic Data
GeoData file types
Summary
Chapter 7: Testing
Code organization and reusable assets
Project structure
Writing testable code
Unit testing
Creating resilient visualization code
Summary

Book Details

ISBN 139781783985609
Paperback126 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Data Visualization with D3 4.x Cookbook - Second Edition Book Cover
Data Visualization with D3 4.x Cookbook - Second Edition
$ 35.99
$ 25.20
D3.js By Example Book Cover
D3.js By Example
$ 35.99
$ 25.20
D3.js 4.x Data Visualization - Third Edition Book Cover
D3.js 4.x Data Visualization - Third Edition
$ 31.99
$ 22.40
Learning d3.js Data Visualization - Second Edition Book Cover
Learning d3.js Data Visualization - Second Edition
$ 31.99
$ 22.40
D3.js: Cutting-edge Data Visualization Book Cover
D3.js: Cutting-edge Data Visualization
$ 71.99
$ 50.40
Mind Mapping with FreeMind Book Cover
Mind Mapping with FreeMind
$ 14.99
$ 10.50