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

Overview issue for new Vehicle Type view #118

Closed danrademacher closed 4 years ago

danrademacher commented 4 years ago

CrashMapperWireframes_vehicletypes_chartview_20200327b

This is not a task to do yet, but we now have a solid design and the input data to make this view.

We have not made a new view like this since we first built the application, and I need to figure out a rough level of effort and overall approach to judge if we have budget to build it. Xd link for colors and whatnot, though only 1 new color here (deeper red for motorists killed/injured)

Some notes before I forget:

  1. The idea is this is and total of each selected Time period and geography, more like Compare than Trend.But the layout blocking is more like Trend.
  2. If 2 geogs selected, we would repeat a whole "row" for each time period.
  3. Pretty certain that the max of a whole "section" of charts (all injuries, all deaths) should determine the height of the Y axis for all charts. Deselecting things like Cars, SUVS Trucks, would effectively "zoom in" on the remaining bars. Might need to consider chart tics to make this clear if hover isn't enough.
  4. I think we would maintain the grid regardless of filters selected, so if for example all motor vehicles are deselected, then that top row of charts is blank but does not disappear.
  5. New red for motorists here would also have to carry through to Compare view. Compare red was a bit too "rosy" in larger doses here. Tried that locally, seems fine.

Would also need to clearly document all the fields from new allocation stuff that would be used here.

That is clearly laid out, though with a different (previous) chart style, in this gSheet: https://docs.google.com/spreadsheets/d/16ucfdJI0MANCSGCHuVaHzPlUMlFTsvolkz8aaHrrEFw/edit#gid=350030631

danrademacher commented 4 years ago

This got transformed yet again, and this is where we're at, linked google sheet above matches this output.

Vtypeview-pies-20200402b

Overall I think the pies are a fine approach. That said, this is a lot of icons and that motorist icon remains a challenge...

This is likely to be built by others and submitted back as a PR

danrademacher commented 4 years ago

Done and deployed