Open christina-luong opened 5 months ago
https://hcsoc-data.hawaii.gov/public-data <---
@rd-huerta @heliofreitastw
We were able to fix the display so that now the "Rule" is showing on the y-axis instead of the "Paragraph" and we were able to fix the labels so that you can read them fully:
This is another option that we prototyped. It shows an example of the graph with the bars not stacked, but still grouped by the Rule. It would require more time to implement:
Good work so far! I think the bottom is preferred! It's still showing as stacked, though, I think. But I like the different colors...Let's chat more. @rd-huerta
Would like to ensure rule and paragraph are their own line items, does the bottom allow for this? E.g. the following are all unique lines:
Personally may prefer the top graph for legibility if we do have a lot of rules, paras and they need to reduce the screen size
The implementation of the second graph would be more difficult. Also, we could have a really big graph horizontally given that there are several paragraphs in the system.
would it make sense to make the graph "stack" vertically then similar to how it is now? while obviously "unstacking" each rule/paragraph appropriately, on their own line. and have users scroll within the box to view? i mean, that's awful but it would work for now. lmk if i'm describing that in a way that makes sense
From our perspective, there are a couple options:
Solution 1(shown in the image below): We have a solution that can be implemented right now. We would need to spend a little more time refactoring the code and writing tests.
Solution 2: Unstacking/ungrouping the bars. This is a heavier lift that would require more time investment. We could use the same bar chart shown in the image above, but reduce the size of the bars to accommodate the 10 data points. We aren't sure this is the best approach, however.
Yes, as part of this card, would need to ungroup the bars. The users currently need each bar to be displayed separately such as this:
Met with @rnair-tw, @rowsnr , and @christina-luong to discuss which graph to use. Waiting on feedback from NOIPM.
Clarified with NOIPM, they like to screengrab the chart for reports etc, so does not work for them to have anything stacked (i.e. need to hover over it to see details). Instead, need the following:
Still needs some work, but here are the changes we have made so far:
I think this is looking good. Any chance we could push the y-axis title further to the left? Also the x-axis title is vague. Is that the number of allegations received? @rd-huerta @rnair-tw
directive || rule
Tests are passing. Tomorrow we will do a bit of refactoring and then a code review & desk check.
We are blocked from doing a desk check by tests that are not related to our work failing in the pipeline. Once the pipeline is fixed, our changes can be pushed to the CI environment.
I talked with @rowsnr we decided to limit the paragraph text on the left size of the graph to 40 characters and include the ellipsis (...
) at the end when this happens. If the paragraph is smaller than 40 characters there is not problem. Also, she suggested abbreviating paragraph to par
. Finally, the hover text will be added back with the full paragraph text.
@devonivory @etessema1
The allegations chart in the [data page] (https://noipm-production.herokuapp.com/data) is cutting the name of the rule + paragraph displayed on the left side of the chart.
@heliofreitastw Received some feedback on the Top Allegations chart in prod. The bars appear to be merging likely due to lack of space. Currently exploring the possibility of limiting Top Allegation to Top 5 or Top 8, but pending feedback from Christian.
Christian would prefer that we limit to Top 8 Allegations (or more).
Verified top allegations chart is showing top 8 allegations, and they are no longer grouped together and hard to read.
Verified top allegations chart is showing top 8 allegations, and they are not grouped together and hard to read.
In the Data Dashboard page, "Top Allegations" chart has multiple entries displayed within one bar and labels that are cut off, making it hard to read and understand the data. Seems like the chart is grouped together based on the paragraphs of the rule used for each allegation.
Steps to reproduce
List any steps to reproduce behavior
Expected behavior
Open Questions
Checklist