Kartograph.js
Kartograph.js is a JavaScript library that renders SVG maps in web browsers. It is built on top of jQuery and RaphaelJS. Please have a look at the API docs for more details.
Initializing a new map
map = $K;map;``` Choropleth maps (aka coloring map polygons based on data): ```javascriptpop_density = 'USA': 123455 'CAN': 232323 ... ; colorscale = colors: chromabrewerYlOrRd limits: chroma; mapstyle'fill' { return colorscale;};``` Adding symbols is easy, too: ```javascriptcities = lat: 43 lon: -75 label: 'New York' population: 19465197 ; map``` ### Author Kartograph was created by [Gregor Aisch](http://github.com/gka/). It is supported by [Piwik Web Analytics](http://piwik.org) and the [Open Knowledge Foundation](http://okfn.org). ### License Kartograph.js is licensed under [LGPL](http://www.gnu.org/licenses/lgpl-3.0.txt)