oss-aspen / 8Knot

Dash app in development to serve open source community visualizations using GitHub data from Augur. Hosted app: https://eightknot.osci.io
MIT License
51 stars 60 forks source link

Improve contrast to make visualizations easier to read #412

Closed geekygirldawn closed 11 months ago

geekygirldawn commented 1 year ago

Right now, the 8knot visualizations have too little contrast to be easily readable, which would be even harder to read if used on some low quality projectors that we see at event venues.

Example:

image

Compare this with an image from CNCF devstats (probably not an ideal graph, but I had it handy)

image

This article has some good pointers on the importance of color contrast along with examples that might be helpful in understanding the problem: https://www.uxmatters.com/mt/archives/2007/01/applying-color-theory-to-digital-displays.php

There are also a number of contrast checker websites / apps available. For example: https://webaim.org/resources/contrastchecker/

There is also a contrast checker built into the Chrome inspect developer tool, and I can see that the current color scheme contrast ratio isn't great:

image

Also, John from Augur created a couple high contrast branches that need to be updated, but might provide some examples: https://github.com/oss-aspen/8knot/tree/color-experiment-2 https://github.com/oss-aspen/8knot/tree/color-experiment

geekygirldawn commented 1 year ago

cc: @sgoggins @JamesKunstle @cdolfi

cdolfi commented 1 year ago

First easy change I see is changing the background of the graph to be "off black"

cdolfi commented 1 year ago

The color of the "open" line (#376D39) seems to be a good bright green color. Maybe that can be the new graph title color (or changing it to just be white)

cdolfi commented 1 year ago

@geekygirldawn how is the color of the graph axises text?

cdolfi commented 1 year ago

Thoughts on the "created" color (#B5B682)? Trying to get a bit of a gauge on what is "bright" enough or not

JamesKunstle commented 1 year ago

@cdolfi I think we should start at square 1 and reevaluate our whole color palette. I've gotten some 3rd party feedback that the overall color scheme is too washed out and "sandy" looking. John recommended a palette with subtle background and foreground colors, but really bright contrasting colors for analysis.

I'm hoping John has the bandwidth to integrate his previous recommended palette via a PR- I remember it looked great.

cdolfi commented 1 year ago

@JamesKunstle Sounds good, curious to see Johns. We will just need to talk through how this impacts the overall "theme" of the project. Visibility is definitely the most important but I do think there is a way to have both. Thats why I am trying to understand whats visually "working" and not, even if we dont end up using the exact colors

geekygirldawn commented 1 year ago

I agree with @JamesKunstle that it might be better to reevaluate the whole color palette. I suspect that it's early enough in the project to adjust the overall theme of 8Knot to be consistent with changes that make the graphs easier for people to read and more accessible to people with vision impairments.

As for @cdolfi's question about what works. The light gray text for the axis, legend, dates, etc. works, but even that should probably have a bit more contrast to make it easier to read.

Maybe a good next step would be to create a few mockups or prototypes with different color schemes that we could post in some CHAOSS channels for feedback. In particular, the CHAOSS Africa group has quite a few designers who would probably have better feedback.

cdolfi commented 1 year ago

@geekygirldawn a recent pr #493 applied much of the request changes to make it (hopefully) more legible. Once it gets push to main and our hosted instance it would be great to get some feedback

cdolfi commented 11 months ago

I feel comfortable closing this as @geekygirldawn audit did not specify any color feedback. Will continue to improve color styling as feedback comes