unorthodox123 / RacialDotMap

Python code for creating a dataset for a dot density map for every person in the U.S., color-coded by race and ethnicity.
253 stars 101 forks source link

Let's switch colors to balance lightness between dots amang races #5

Open Atry opened 4 years ago

Atry commented 4 years ago

Currently, the lightness between dots differ according to the race. For example, the color of an asian dot is #FF0000, which is darker than #73B2FF, the color of a white dot. As a result, an area that contains asian dots visually looks more darker than an area of same size and density of white dots.

Let's change the dot color for better visualization.

csciuto commented 3 years ago

This seems closely related to https://github.com/unorthodox123/RacialDotMap/issues/4 . If I'm reading this right, it also paints them one over another in a certain order, which will also overrepresent Asians. And, moreso, Hispanics.

See this neighborhood in Chelsea, MA. It's 60-90% Hispanic in some blocks (the other map is StatisticalAtlas.com), but you can't tell the 60% from the 90% blocks really because I think the yellow dots are drawn nearly last.

image

dholstius commented 3 years ago

Drawing order is extremely important to treat in a balanced (shuffled?) way! Thank you for considering it.