O'Reilly logo

D3.js in Action, Second Edition: Data visualization with JavaScript by Elijah Meeks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Geospatial information visualization

This chapter covers

  • Creating points and polygons from GeoJSON and TopoJSON data
  • Using Mercator, Mollweide, orthographic, and satellite projections
  • Understanding advanced TopoJSON neighbor and merging functionality

One of the most common categories of data you’ll encounter is geospatial data. This can come in the form of administrative regions like states or counties, points that represent cities or the location of a person when sending a tweet, or satellite imagery of the surface of the earth.

D3 provides enough core functionality to make any kind of map you’ve seen on the web (examples of maps created in this chapter using D3 can be seen in figure 8.1). Because you’re already working with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required