You can use D3 to create maps of any place you wish, real or imaginary, using any data that contains locations expressed in spherical coordinates. There are many details to cover, so we will begin in this section with a quick step-by-step tutorial on map-making with D3, and then proceed in the sections that follow to cover the details. The files that contain the full code for the examples in this section are in the MapMaking/ folder of the GitHub repository for this chapter.
How to make a thematic map
GeoJSON
GeoJSON is an open standard format (IETF RFC 7946) for geographical information systems (GIS), supported by most GIS applications, GPS software and Web-based mapping applications. Many public data portals provide geographical...