{"id":408,"date":"2020-04-09T17:07:00","date_gmt":"2020-04-09T15:07:00","guid":{"rendered":"http:\/\/www.labo.mathieurella.fr\/?p=408"},"modified":"2020-05-12T19:54:07","modified_gmt":"2020-05-12T17:54:07","slug":"how-to-get-colorblind-friendly-data-visualizations","status":"publish","type":"post","link":"https:\/\/www.labo.mathieurella.fr\/?p=408","title":{"rendered":"How to Get Colorblind-Friendly Data Visualizations"},"content":{"rendered":"\n<p>Humans perceive color through signals produced by cells in the retina called cones.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" data-src=\"https:\/\/static.snapsnapsnap.photos\/wp-content\/uploads\/2014\/12\/08.jpg\" alt=\"\" width=\"251\" height=\"141\"\/><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.snapsnapsnap.photos\/wp-content\/uploads\/2014\/12\/08.jpg\" alt=\"\" width=\"251\" height=\"141\"\/><\/noscript><\/figure><\/div>\n\n\n\n<p>Light comes into the eye, hits the cones and the cones set off electrical signals to the brain. There are typically three types of cones :  S (short), M (medium) and L (long).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" data-src=\"https:\/\/www.unm.edu\/~toolson\/human_cone_action_spectra.gif\" alt=\"\" width=\"406\" height=\"195\"\/><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.unm.edu\/~toolson\/human_cone_action_spectra.gif\" alt=\"\" width=\"406\" height=\"195\"\/><\/noscript><\/figure><\/div>\n\n\n\n<p>They are sensitive to different frequencies or colors of light.<\/p>\n\n\n\n<ul><li><strong>Short cones<\/strong>  prefer Blue<\/li><li><strong>Medium cones<\/strong> prefer Green<\/li><li><strong>Long cones<\/strong> prefer Red<\/li><\/ul>\n\n\n\n<p>However around 10% of men and 1% of women have mutations that affect these cones and produce what is know as colorblindness.<\/p>\n\n\n\n<p>The most common form is a red green colorblindness, typically caused by the medium cone shifting sensitivity towards red light.<\/p>\n\n\n\n<p>People with this condition can&#8217;t distinguish between red and green, as show in this image of red and green apple :<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" data-src=\"https:\/\/sites.google.com\/site\/thalassemiaandcolorblind\/_\/rsrc\/1467130317100\/home\/Unknown-1.jpeg?height=265&amp;width=400\" alt=\"\" width=\"239\" height=\"159\"\/><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/thalassemiaandcolorblind\/_\/rsrc\/1467130317100\/home\/Unknown-1.jpeg?height=265&amp;width=400\" alt=\"\" width=\"239\" height=\"159\"\/><\/noscript><\/figure><\/div>\n\n\n\n<p>There is actually a pretty large fraction of people that are colorblind. So we as Data Analyst \/ Scientist should design our visualizations to include them.<\/p>\n\n\n\n<p>To be sensitive to those with colorblindness, we should use color palettes that\u00a0<strong>do not move from red to green<\/strong>\u00a0without using another element to distinguish this change like shape, position, or lightness. <\/p>\n\n\n\n<p>Both of these colors appear in a yellow tint to individuals with the most common types of colorblindness. Instead,\u00a0<strong>use colors on a blue to orange palette<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Humans perceive color through signals produced by cells in the retina called cones. Light comes into the eye, hits the &#8230;<\/p>\n","protected":false},"author":1,"featured_media":409,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=\/wp\/v2\/posts\/408"}],"collection":[{"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=408"}],"version-history":[{"count":1,"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":410,"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions\/410"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=\/wp\/v2\/media\/409"}],"wp:attachment":[{"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labo.mathieurella.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}