insight-lane / crash-model

Build a crash prediction modeling application that leverages multiple data sources to generate a set of dynamic predictions we can use to identify potential trouble spots and direct timely safety interventions.
https://insightlane.org
MIT License
112 stars 40 forks source link

Viz upgrade - change single point sliders to two-point (range) #214

Closed terryf82 closed 5 years ago

terryf82 commented 5 years ago

The risk score slider in the showcase is currently single point (show all segments with risk greater than x).

It was agreed that this might function better as a range slider (show all segments with risk between x and y).

Would this also be a good upgrade to make to the speed limit slider at the same time?

alicefeng commented 5 years ago

So apparently double range sliders aren't natively supported in HTML. We'd have to use a third party library if we wanted to build one and I'm inclined not to have to load more things into the viz.

alicefeng commented 5 years ago

Closing due to my comment on Dec 2