19
Cartographical Visualizations
Creating maps is one of D3’s most powerful features. It provides one of the best toolsets for web-based cartography. These features include a GeoJSON parser and shape generator that makes it straightforward to quickly draw complex maps, a huge collection of over 100 projection algorithms, and a complete API for manipulating spatial coordinates, measuring, and converting between pixel coordinate systems, latitudes and longitudes, and Euler rotation vectors.
Maps created with D3 are vector-based, rendered in SVG or Canvas. The main tools are provided in the d3-geo module, which is included in the default D3 distribution. The goal of this chapter is to provide a comprehensive introduction to the most important features ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access