markmarkoh / datamaps

Customizable SVG map visualizations for the web in a single Javascript file using D3.js
http://datamaps.github.io
MIT License
3.78k stars 1.01k forks source link

datamaps as plugin #2

Closed sfkamath closed 11 years ago

sfkamath commented 11 years ago

Great work.

Thought I'd ask, is it possible to include the datamaps.js file as a script in the latest d3.js (v3) examples, and then use the functionality that it provides? For instance, I have d3 rendering a geojson file and I would like to have datamaps colouring that map as a chloropeth. Is this possible at all? I have a feeling it isn't as yet as the datamaps library is tightly coupled to the data - hence world and usa.

markmarkoh commented 11 years ago

Can you send a link to a working example of what your describing? (like your geojson file).

Upgrading to v3 is imminent since it provides a few zoom/center options I want to handle.