Chapter 11. Creating Advanced Maps

In the last chapter, we learned how to use the GeoJSON and TopoJSON formats to create map-based charts using SVG. In this chapter, we will explore different cartographic projections and learn how to use the Orthographic and Stereographic projections to create 3D-like renderings of our maps.

We will add interaction to our maps by adding drag and zoom behavior, allowing the user to rotate and zoom the map views. We will use the Orthographic projection to create a rotating view of the Earth, and we will create a star map using the Orthographic projection.

We will also learn how to project raster images of the Earth using canvas and D3 projections in order to have realistic renderings of it.

Using cartographic projections ...

Get D3.js: Cutting-edge Data Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.