topoJson. But not necessary thanks to leaflet.
Input data for maps is
geoJson format. D3.js works very well to display this kind of information using
The most basic background map you can do in d3.js. Keeping only the core code.
Input data format: geoJson
Shows how to switch from one projection to another thanks to the geo-projection plugin.
Leaflet.jsopen source library
Canvas is an alternative to SVG. Its main advantage is that it avoids to overload the dom and thus often leads to better browser performance. Here are examples showing how to build background maps using d3.js and canvas:
A few blocks with more complicated codes to showcase the possibility of the