Summary

In this chapter, we used several cartographic projections to create interactive maps that can be zoomed and rotated. We created a globe that can be rotated and zoomed using the zoom behavior and the Orthographic projection. We used the Stereographic projection and the HYG combined catalog to create an interactive star map.

We also learned how to use the canvas elements and a combination of projections to project raster images of the Earth using arbitrary projections, creating realistic views of the Earth.

In the next chapter, we will learn how to add social media to our visualization projects and how to have several users interact with our visualizations at the same time.

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.