Spam, a D3 library to create Canvas maps

22 views
Skip to first unread message

Martín González

unread,
May 3, 2016, 12:44:12 PM5/3/16
to d3...@googlegroups.com
Hello,

We just released Spam, a library to make it easier to create maps with Canvas and D3.

It’s mostly an abstraction of the rendering process, supporting a ton of nice features, as easy zoomable maps, automatic projection and centering (but you can still use your custom projections if you want), retina support and multiple map features on the same canvas,

Repo: https://github.com/newsappsio/spam
API docs: https://github.com/newsappsio/spam/wiki/API

You can check some examples on blocks (if you browse my profile I have more):
- US States: http://bl.ocks.org/martgnz/ce8efee65a26e4677e5e5d3da2c8f1a7
- Choropleth: http://bl.ocks.org/martgnz/56664c7ea8efef56f93ca948ef855d06
- Zoomable Choropleth: http://bl.ocks.org/martgnz/a61c2da0e45a108c857e
- Tooltip: http://bl.ocks.org/martgnz/8022f289a6057a51b7ad0fe25ab55637
- Custom projections: http://bl.ocks.org/martgnz/d8bc3d6c29e712e3255f095671a51967

Thanks for all your help!
Martín

Martín González
data & interactive journalist
@martgnz / https://martingonzalez.net

Reply all
Reply to author
Forward
0 new messages