projection debugging
This example visually compares two map projections of the same world dataset by layering them in red and blue on a canvas. Using D3’s `geoTransform` and `geoProjection`, a standard equirectangular projection (blue) is juxtaposed with a custom sheared transform (red) that skews longitude by latitude. The code loads world country boundaries from a local JSON file and renders both outlines overlaid, making differences in shape, rotation, and distortion immediately visible. The canvas drawing highlights how tiny variations in projection logic can produce significant spatial divergence, offering a quick, intuitive way to debug or inspect map projections.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/loganwilliams/'>loganwilliams</a>'s block: <a href='http://bl.ocks.org/loganwilliams/eb0a474557a32d64f6b57d409e40e486'>projection debugging</a>