SVG heap graph inconvenient for color blind
pavelpatrin opened this issue · 3 comments
pavelpatrin commented
What version of pprof are you using?
Pprof from Go 1.20.
What operating system and processor architecture are you using?
MacOS with M2 proccessor.
What did you do?
Analyzing SVG graph of heap.
What did you expect to see?
Convenient, understandable colors, e.g. Red-Blue color schema.
What did you see instead?
Indistinguishable Red-Green color schema.
From my side
There are an estimated 300 million people in the world with color vision deficiency. 1 in 12 men are color blind (8%). 1 in 200 women are color blind (0.5%). It is significant. Please thing about changing the color schema to get rid of red-green differences.
pavelpatrin commented
pavelpatrin commented
And even better, replace red with orange!
aalexand commented
@pavelpatrin Thanks for the report. If the code change for this is simple so that you can prepare a PR, feel free to send it and we can review it.