O'Reilly logo

Learning D3.js Mapping by Oscar Villarreal, Thomas Newton

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 6. Finding and Working with Geographic Data

We have spent significant time creating and interacting with maps in our previous chapters. In all our examples, the geographic data was included. In this chapter, we will explain how to find geographic data about any country in the world.

There are typically two sets of data that we will need to create a map in D3:

  • A dataset that represents the geographic shape of our map (geo data)
  • Some meaningful data that we want to visualize on the map (for example, population density by US counties or unemployment rate by countries in the world)

This chapter is focused on understanding, manipulating, and optimizing geo data for map visualizations. We will accomplish these goals by:

  • Explaining three important ...

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