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

Implement the flowchart functionality #7

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 PRD, there is a flowchart in the center of the page which shows different metrics for different parts of the criminal justice system, with lines connecting those different parts.

Describe the solution you'd like How the flowchart should be built is an open question. There may be some handy library for constructing UIs like this, or it may be easier to just use vanilla HTML and JS.

Data will be injected into this from the CSV file to be consumed by the component. Different metrics will be used in different boxes in the flowchart, stylized in #5. An important thing to note here is that for some justice systems, we won't have data for each box. If we don't have data for a specific box for a specific justice system, we stylize that box as "Not Available" and also stylize the lines leading to and from those boxes.

Further details are described in the PRD.

Describe alternatives you've considered The main choice here is how to implement the actual flowchart.

Additional context Exact functionality is being finalized in the PRD