block by emeeks 7bce3b67dffd0fe85ec2

Changing Markers - d3.carto.map

Full Screen

Changing markers with d3.carto.map.

Each feature or point is added inside of a g element. You can then add whatever you want to that g element to create the symbols you want for your points. To do so, though, you need to use a different datum for the appended element. This doesn’t seem like a good solution and will probably lead to the creation of a d3.carto.marker or equivalent at some point.

index.html

d3map.css

example.css