Martín González

Visual journalist at The Economist, based in London.

D3 Spain Map Template

A template for a choropleth map of Spain. It has a tooltip, responsive support and an automatic legend.

On mobile it degrades gracefully and becomes a static map. It also features a custom projection of Spain that puts the Canary Islands on the right place.

We already used this template on some articles, as on the Ashley Madison story.

Tools: D3.js, d3-composite-projections, Bootstrap and SASS.