GreenInfo-Network / nyc-crash-mapper-chart-view

Chart view for NYC Crash Mapper that allows for viewing Trends, Comparing, and Ranking of various NYC geographies
http://vis.crashmapper.org
MIT License
2 stars 1 forks source link

Borough reference layers break chart #106

Closed danrademacher closed 5 years ago

danrademacher commented 5 years ago

https://vis.crashmapper.org/?cfat=false&cinj=true&geo=city_council&mfat=false&minj=true&p1end=2018-10&p1start=2017-10&p2end=2017-10&p2start=2016-10&pfat=false&pinj=true&reference=bronx&trendAggMonths=1&view=trend

image

Some impact of adding borough names?

gregallensworth commented 5 years ago

Got it. The effect was when using a borough as the reference, since all areas have had their names "massages" to include borough names. In the case of borough names which don't get a prefix, they were still erroneously being given a single " " space as a prefix. As a result, they were not matched as reference areas by their proper name.

gregallensworth commented 5 years ago

Fixed and deployed two weeks ago.