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

Bubbles with postal code or coordinates #400

Open Doublebock opened 7 years ago

Doublebock commented 7 years ago

Hi, I'm checking out datamaps for my project and I would like to place bubbles based on country and postal code (or address) or by some coordinates I could get from an address. Does datamaps support this?

It's been great to use so far.

Thanks,

robert

hamza005 commented 6 years ago

yes

election.bubbles([{ name: data.dst.country, radius: 5, latitude: data.dst.lat, longitude: data.dst.lng }]);