Going to set up a thing to generate SVGs from OpenStreetMap data.
To get the data it uses Mapzen's API.
To render the svg it uses d3.js
There are some examples of using the mapzen vector data at: https://github.com/mapzen/d3-vector-tiles
For getting data on how zoom levels work: http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale And a great example http://tools.geofabrik.de/map/#3/29.1466/31.9609&type=Geofabrik_Standard&grid=1
For an example doing basically what I want http://bl.ocks.org/mbostock/5616813