In the previous chapters, we've created a number of visualizations based on various data sources. One type of data that we haven't looked at yet is geographic data (or geo data for short). In this chapter, we'll show the support D3 has for visualizing and manipulating geographic data.
We'll create the following visualizations in this chapter:
- Election visualization: The first visualization we'll create is one where we show the 2016 US presidential election results. We'll show a map of the USA, where each county is colored based on how it voted.
- Earthquake map: D3 can display in a number of different projections. We'll create a map that visualizes the location and magnitude of earthquakes. We'll also provide a way you can quickly switch between projections to see what they look like.
- 3D Globe: With D3 we can create a fake 3D globe on which we can plot...