Skip to main content
100%

Perspective Map (transformed projection)

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Oct 31, 2018
Created on Nov 23, 2016

This example demonstrates a distorted world map using a transformed Robinson projection, with adjustable parameters controlling scale, angle, and vertical compression. The map renders country polygons on a canvas, with colored dots highlighting the centroids of populous nations. Built with d3 v4 and d3-geo-projection, it composes a custom projection via `d3.geoTransform` and `d3.geoPath`, while a dat.GUI panel allows live tweaking of visual properties like fill color and translation. World geometry comes from a TopoJSON file of countries.

AI-generated description

Using d3 v4 geo pipeline to skew and tweak a projection.

Uising dat.gui for easy parameters modifications.

Based on @mbostock's following blocks:

gpl-3.0 Licensed

Similar vizzes