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

change bubble map to a different svg #132

Closed apank closed 10 years ago

apank commented 10 years ago

is it possible to change the bubble map to a triangle or square?

markmarkoh commented 10 years ago

Not by default, although the bubbles are just a plugin to DataMaps ( read about creating your own plugins here )

Creating a square map would be straightforward since SVG supports squares (well, rect).

Triangles aren't supported as their own type, so triangles could be kind of tricky.