GreenInfo-Network/nyc-crash-mapper

Dynamically update CartoCSS and Legend after a Filter is applied?

clhenrick opened this issue · 0 comments

Currently the crash dot sizes are hard coded. It may make sense to compute equal interval or quantile breaks when the range of the crash count changes after a filter is applied.

For example, currently when all years of the dataset are selected the max crash count for one location is 415, but when a single year or single month is selected the max would be substantially lower.