Recidiviz / justice-counts-components

A set of React components powering a web app for exploring centralized, standardized metrics on the performance of justice systems across the United States
GNU General Public License v3.0
1 stars 0 forks source link

Support graphs in new Jails view #41

Closed jessex closed 3 years ago

jessex commented 3 years ago

Is your feature request related to a problem? Please describe. As described in the new "Category 2: Jails" section of the PRD, we are going to create a new Jails view alongside the existing Corrections view. The middle section of the view, just below the key insight cards created in #40, is a pair of graphs describing jail incarceration rates.

Describe the solution you'd like The design of these graphs is identical to the graphs from the existing corrections view. But the actual metrics shown are different.

Furthermore, one of these graphs has a new link that opens a modal and lets you select from a list of counties in the state. The functionality for that new button and modal will be handled in a separate ticket (#42), so this ticket should just get the graph operational with "the default" county selected (should be the first one in alphabetical order; see comments in the graphs sub-section of this part of the PRD) and skip the county selector for now.

Describe alternatives you've considered N/A

Additional context See the new "Category 2: Jails" section of the PRD and the Figma mocks it links to.

colincadams commented 3 years ago

Note the fixture files to support these is now linked from #39

jessex commented 3 years ago

This is done on the v2-jails branch which will be merged back to main after our V1 release has been finalized. Closing this out.