Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data explorer enhancements - ideas #534

Open
14 of 29 tasks
mmontesanonyc opened this issue Mar 1, 2023 · 3 comments
Open
14 of 29 tasks

Data explorer enhancements - ideas #534

mmontesanonyc opened this issue Mar 1, 2023 · 3 comments

Comments

@mmontesanonyc
Copy link
Contributor

mmontesanonyc commented Mar 1, 2023

We'll add a list of data explorer enhancements in this issue. When one gets traction, we'll spin off a new, focused and dedicated issue for it.

Priorities:

  • Improve How Calculated / Sources display (see hotfix-measure-metadata): on all but Table, show only single measure. Problem: when map is initial load, renderMeasures runs and shows multiple measures in HC/S boxes. Otherwise, sorted.
  • Use hconcat for map/bar chart #1003
  • Add units in tooltips to better allow people to put values into sentence context (see hotfix-DE-tooltip)
  • Add a "threshold" data type to support indicators where we have a single value as a measure (like a regulatory threshold or some other reference value). This could perhaps be in vizOptions in indicators.json, and could be paired with importing it into the page in a variety of places (as a y-value in the trend chart; as a stick-to-top value in the table; in the tooltip on the map?) to add explanation/comparison/context in a strong way. See gist here.
  • Fix issue of trend chart scaling small on mobile view
  • Improve dimensions across the board.
  • Improve trend chart legend labelling
  • Incorporate dohmh health topics as links from DE pages #1000

Map:

Table:

  • Refine styles: smaller text; better headers, colors, and ledger lines; render a column as a bar charT?
  • "Select All" button for years

Links

  • Create interpretive sentences #106
  • Button-out the drop-down menu? Or some other way that people can see all the potentially connected things?
  • Distinguish overlapping points

Trend

  • Vertical line for trend charts with "do not compare to previous years" recommendations #840
  • Click on group point or legend highlights that group (like links chart)
  • Show missing years as explicitly missing. Using end_period for x-axis field, but TimePeriod for label won't work, because labelExpr doesn't have access to anything but the name and value of the field. One alternative: finding missing sequence values in renderComparisonsChart and adding them to the data. Another alternative: using end_period, but conditionally modifying the timeUnit or format in renderComparisonsChart to recreate TimePeriod. This is probably the better option.

Disparities

  • ICE score
  • TRIE neighborhoods,

General

  • When views are inactive (e.g., no map, no trend), explain rationale: eg, "We don't map things if we don't have data finer than RESOLUTION."
  • See asthma - use "label" for indicator menu if Indicator header exists?
  • Data updated time, using git log on EHDP-data repo
  • Database rebuild - add facets: age. sex. other?

Data Explorer Drill-down
Add some type of interpretation - something that helps answer The Why.

  • Perhaps a "what does this chart mean"
  • Something customized and specced at the indicator level where we link to the top resources on the portal instead of relying on the Related footer
  • A threshold value; an interpretative sentence for a chosen neighborhood that compares the value to the NYC average.

Console logs: Revise console logs to be descriptive. Log the relevant objects, specific selections. Partly, this can be useful for us (easier to find the names of objects), and partly, useful to any techie poking around.

@mmontesanonyc mmontesanonyc pinned this issue Mar 22, 2023
@mmontesanonyc
Copy link
Contributor Author

mmontesanonyc commented May 9, 2023

NB, consolidated with other "Ideas" card. FYI, Mike had some thoughts (added here) about adding some type of "Data Explorer Drill-down" functionality that gets into ways to explain what a user is seeing. Touches on a lot of ideas we had - and definitely an interesting area for growth.

mmontesanonyc added a commit that referenced this issue Oct 20, 2023
@mmontesanonyc
Copy link
Contributor Author

mmontesanonyc commented Oct 20, 2023

@cgettings related to WM's point about legend labels not wrapping. I've been interested for a while in applying direct labels to trend charts, instead of legends. Here's an initial - there's a layer that takes the max date, the value at the max date, and then encodes a text mark there. The major drawback is interference, but I'm going to look into the label transform and avoidMarks to see what can be accomplished with that.

@mmontesanonyc
Copy link
Contributor Author

Adding an idea in here: hiding a menu sidebar control when there is only one option within it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant