dc-js / dc.leaflet.js

DC charts using Leaflet maps
Apache License 2.0
52 stars 24 forks source link

color accessor and color scale for bubbleChart #34

Open gordonwoodhull opened 7 years ago

gordonwoodhull commented 7 years ago

Currently it's selectedColor and unselectedColor, which is limiting - should be data-driven.

Could follow dc.scatterPlot or dc.bubbleChart or could even follow dc.graph and have cascading data-driven styles...

MHeisoku commented 4 years ago

I've just made a pull request which I think could address what you were looking for - at least it does for my use case. Just lifted some code from the choro implementation and tweaked unselectedColor