D3 (d3-geo): Map projections and SVG maps for custom data graphics. Leaflet: The lightweight open-source JavaScript library for interactive maps.
| D3 (d3-geo) | Leaflet | |
|---|---|---|
| Category | Map Libraries & SDKs | Map Libraries & SDKs |
| Pricing model | Open source | Open source |
| Starts at | Free | Free |
| Free tier | — | — |
| Open source | Yes | Yes |
| Software licence | ISC | BSD-2-Clause |
| API | — | — |
| Platforms | JavaScript | JavaScript |
| Made by | — | — |
| Commercial use | Allowed | Allowed |
| Export / print images | Allowed | Allowed |
| Offline / caching | Allowed | Allowed |
| Visits from MapTools | 1 | 4 |
| Visit | Visit |
D3 (d3-geo) features
- Many map projections
- SVG and canvas rendering
- TopoJSON support
- Full design control
Leaflet features
- Raster tile layers
- Markers, popups, vectors and GeoJSON
- Hundreds of plugins
- Tiny footprint
The library is free. The tiles you load keep their provider's terms.
Leaflet alternativesSummary based on public information. Check each provider's current pricing and terms.