smoningi / SF-Environment-Benchmark

Set of applications to visualize SF building energy consumption and greenhouse gas emissions.
6 stars 11 forks source link

Master #20

Closed geoffnet closed 8 years ago

geoffnet commented 8 years ago

Refactored legend to update when new metric is selected. Todo: modify choropleth colors based on new metric.

thfield commented 8 years ago

Inside the dispatcher.changeMetric trigger, the map colors aren't getting updated. It should be a matter of updating the color scale: color.range([new, color, values, array])

geoffnet commented 8 years ago

Added a few commits to address the updated map colors and related label/text formatting. TODO: fix scaling issue so map colors reflect latest metrics.