Connect with us

Technology

How rainbow colour maps can distort data and be misleading

Published

on

One of the most popular default colour palettes, rainbow, can actually produce misleading information (Pixabay photo)

The choice of colour to represent information in scientific images is a fundamental part of communicating findings. However, a number of colour palettes that are widely used to display critical scientific results are not only dangerously misleading, but also unreadable to a proportion of the population.

For decades, scientists have been pushing for a lasting change to remove such palettes from public consumption, but the battle over universal accessibility in science communication rages on.

A colour map is a palette of multiple different colours that assign values to regions on a plot. An example of a misleading colour map is rainbow, which generally starts with blue for low values, then passing through cyan, green, yellow, orange, and finally red for high values. This colour combination is neither diverging, which would allow us to visually perceive a central value, nor sequential, which would make organizing values from low to high intuitive.

Colour brings life to data

Using colour bar graphs can allow scientists to transform their collected data into something meaningful to be shared widely. This could be the first direct impression of a black hole, the mapping of votes cast in political elections, the planning of an expensive rover route on Martian topography, the essential communication of climate change or the critical diagnosis of heart disease.

a map the surface of mars that uses rainbow colours
Martian surface topography represented with rainbow colour bar. (NASA)

Despite the clear importance of colour, scientists often choose the default palette setting of the visualization software that is being used.

Distorted data

Rainbow — or jet — colour palettes are often the default setting on software, but the beautiful sweep of blue to red is misleading when displaying scientific data.

Fundamentally, the change between the colours in the palette is not smooth. For example, the change between blue and green and then between yellow and red occurs over a short distance. Vik and batlow, are examples of even colour palettes, where the colours change smoothly across the colour bar.

To put this into context, having a palette that changes between colours wildly is like having a position x or y axis with numbers that are not evenly spaced. In jet colour maps, this would be the equivalent of having numbers one to four close together and eight to 10 far apart. Such an uneven colour gradient means that certain parts of the palette would be naturally highlighted over others, distorting the data. The RGB colour space based on which such uneven colour gradients are created is mathematically simple, but not in tune with how we perceive colours and see the differences between them.

comparison of an apple, Marie Skłodowska Curie and the Earth in three different colour maps: original, jet, and batlow.
The impact of an uneven (jet) and an even (batlow) colour scheme on a greyscale image of Earth, Marie Skłodowska Curie and an apple. Batlow replicates the image due to its smooth colour gradient, whereas jet distorts the image. (Fabio Crameri), Author provided

Inaccessible science

Another issue with an uneven colour palette like rainbow is that data presented using these colours may be unreadable or inaccurate for people with a vision deficiency or colour blindness. Colour maps that include both red and green colours with similar lightness cannot be read by a large fraction of the population.

The general estimate is that 0.5 per cent of women and eight per cent of men worldwide are subject to a colour-vision deficiency. While these numbers are lower and almost disappear in populations from sub-Saharan Africa, they are likely significantly higher in populations with a larger fraction of white people as, for example, in Scandinavia.

It is needless to state that scientific results should be able to viewed by as many people as possible, and such colour-vision deficiencies should be taken into account.

Collection of colour palettes as seen by people with Colour vision deficiency
Colour maps as seen with either of the three common forms of human colour-vision deficiency (deuteranopia, protanopia and tritanopia), and for grey-scale (representing total colour-blindness or simple black-and-white prints). Rainbow, the most-widely used colour map, doesn’t produce a smooth gradient and is not universally readable. (Fabio Crameri)

The winding road to the end of the rainbow

The issues with jet, rainbow and other uneven colour palettes have been known for years. Although certain fields of science have made significant changes to best practices on colour policy, other areas have stuck with their default settings.

As researchers interested in more effective data communication, we outline approaches that scientists can make to communicate their findings more efficiently: avoid using jet or rainbow default colour palettes; if it is necessary to use red and green, make sure they are not the same luminosity for accessibility; and use a palette that changes evenly between the colours.

There is growing recognition of the challenges associated with rainbow palettes. Some academic publications — like Nature Geoscience — have adopted a more even colour palette policy for new submissions. The Intergovernmental Panel on Climate Change has colour-blind friendly guidelines for figures.

Software packages such as MATLAB and Python have removed rainbow as their default colour palette for data visualization features. However, old habits die hard and vigilance is still required — it is important to call out poor colour choices when noticed (otherwise the trends keep repeating).

Better science communication, better outcomes

The importance of accurately sharing scientific data in an accessible manner cannot be understated. Uneven colour gradients are often chosen to artificially highlight potential danger zones, such as the boundaries of a hurricane track or the current virus spread.

Decisions based on data being unfairly represented could produce, for instance, a Martian rover being sent over terrain that is too steep as the topography was inaccurately visualized, or a medical worker making an inaccurate diagnosis based on uneven colour gradients.

Two maps of the Earth's surface displaying temperature anomaly data with annotations
Comparison of two maps showing temperature anomalies using jet and vik colour maps — with jet, the data is distorted. (Fabio Crameri)

Accessible science for all starts with moving away from defaults. This can start with students learning to pick even colour gradients for term projects, to international publishers rejecting papers for misleading figures. One day, it may even include the Meteorological Service of Canada moving away from dramatic uneven palettes to highlight weather changes.

Fundamentally, using an inaccurate colour map is equivalent to a wilful misleading of the public by distorting data, and this has significant potential consequences.

Philip Heron, Assistant Professor, Environmental Geophysics, University of Toronto; Fabio Crameri, Researcher in geophysics, University of Oslo, and Grace Shephard, Research fellow, Geology and Geophysics, University of Oslo

This article is republished from The Conversation under a Creative Commons license. Read the original article.

xosotin chelseathông tin chuyển nhượngcâu lạc bộ bóng đá arsenalbóng đá atalantabundesligacầu thủ haalandUEFAevertonxosofutebol ao vivofutemaxmulticanaisonbethttps://bsport.fithttps://onbet88.ooohttps://i9bet.bizhttps://hi88.ooohttps://okvip.athttps://f8bet.athttps://fb88.cashhttps://vn88.cashhttps://shbet.atbóng đá world cupbóng đá inter milantin juventusbenzemala ligaclb leicester cityMUman citymessi lionelsalahnapolineymarpsgronaldoserie atottenhamvalenciaAS ROMALeverkusenac milanmbappenapolinewcastleaston villaliverpoolfa cupreal madridpremier leagueAjaxbao bong da247EPLbarcelonabournemouthaff cupasean footballbên lề sân cỏbáo bóng đá mớibóng đá cúp thế giớitin bóng đá ViệtUEFAbáo bóng đá việt namHuyền thoại bóng đágiải ngoại hạng anhSeagametap chi bong da the gioitin bong da lutrận đấu hôm nayviệt nam bóng đátin nong bong daBóng đá nữthể thao 7m24h bóng đábóng đá hôm naythe thao ngoai hang anhtin nhanh bóng đáphòng thay đồ bóng đábóng đá phủikèo nhà cái onbetbóng đá lu 2thông tin phòng thay đồthe thao vuaapp đánh lô đềdudoanxosoxổ số giải đặc biệthôm nay xổ sốkèo đẹp hôm nayketquaxosokq xskqxsmnsoi cầu ba miềnsoi cau thong kesxkt hôm naythế giới xổ sốxổ số 24hxo.soxoso3mienxo so ba mienxoso dac bietxosodientoanxổ số dự đoánvé số chiều xổxoso ket quaxosokienthietxoso kq hôm nayxoso ktxổ số megaxổ số mới nhất hôm nayxoso truc tiepxoso ViệtSX3MIENxs dự đoánxs mien bac hom nayxs miên namxsmientrungxsmn thu 7con số may mắn hôm nayKQXS 3 miền Bắc Trung Nam Nhanhdự đoán xổ số 3 miềndò vé sốdu doan xo so hom nayket qua xo xoket qua xo so.vntrúng thưởng xo sokq xoso trực tiếpket qua xskqxs 247số miền nams0x0 mienbacxosobamien hôm naysố đẹp hôm naysố đẹp trực tuyếnnuôi số đẹpxo so hom quaxoso ketquaxstruc tiep hom nayxổ số kiến thiết trực tiếpxổ số kq hôm nayso xo kq trực tuyenkết quả xổ số miền bắc trực tiếpxo so miền namxổ số miền nam trực tiếptrực tiếp xổ số hôm nayket wa xsKQ XOSOxoso onlinexo so truc tiep hom nayxsttso mien bac trong ngàyKQXS3Msố so mien bacdu doan xo so onlinedu doan cau loxổ số kenokqxs vnKQXOSOKQXS hôm naytrực tiếp kết quả xổ số ba miềncap lo dep nhat hom naysoi cầu chuẩn hôm nayso ket qua xo soXem kết quả xổ số nhanh nhấtSX3MIENXSMB chủ nhậtKQXSMNkết quả mở giải trực tuyếnGiờ vàng chốt số OnlineĐánh Đề Con Gìdò số miền namdò vé số hôm nayso mo so debach thủ lô đẹp nhất hôm naycầu đề hôm naykết quả xổ số kiến thiết toàn quốccau dep 88xsmb rong bach kimket qua xs 2023dự đoán xổ số hàng ngàyBạch thủ đề miền BắcSoi Cầu MB thần tàisoi cau vip 247soi cầu tốtsoi cầu miễn phísoi cau mb vipxsmb hom nayxs vietlottxsmn hôm naycầu lô đẹpthống kê lô kép xổ số miền Bắcquay thử xsmnxổ số thần tàiQuay thử XSMTxổ số chiều nayxo so mien nam hom nayweb đánh lô đề trực tuyến uy tínKQXS hôm nayxsmb ngày hôm nayXSMT chủ nhậtxổ số Power 6/55KQXS A trúng roycao thủ chốt sốbảng xổ số đặc biệtsoi cầu 247 vipsoi cầu wap 666Soi cầu miễn phí 888 VIPSoi Cau Chuan MBđộc thủ desố miền bắcthần tài cho sốKết quả xổ số thần tàiXem trực tiếp xổ sốXIN SỐ THẦN TÀI THỔ ĐỊACầu lô số đẹplô đẹp vip 24hsoi cầu miễn phí 888xổ số kiến thiết chiều nayXSMN thứ 7 hàng tuầnKết quả Xổ số Hồ Chí Minhnhà cái xổ số Việt NamXổ Số Đại PhátXổ số mới nhất Hôm Nayso xo mb hom nayxxmb88quay thu mbXo so Minh ChinhXS Minh Ngọc trực tiếp hôm nayXSMN 88XSTDxs than taixổ số UY TIN NHẤTxs vietlott 88SOI CẦU SIÊU CHUẨNSoiCauVietlô đẹp hôm nay vipket qua so xo hom naykqxsmb 30 ngàydự đoán xổ số 3 miềnSoi cầu 3 càng chuẩn xácbạch thủ lônuoi lo chuanbắt lô chuẩn theo ngàykq xo-solô 3 càngnuôi lô đề siêu vipcầu Lô Xiên XSMBđề về bao nhiêuSoi cầu x3xổ số kiến thiết ngày hôm nayquay thử xsmttruc tiep kết quả sxmntrực tiếp miền bắckết quả xổ số chấm vnbảng xs đặc biệt năm 2023soi cau xsmbxổ số hà nội hôm naysxmtxsmt hôm nayxs truc tiep mbketqua xo so onlinekqxs onlinexo số hôm nayXS3MTin xs hôm nayxsmn thu2XSMN hom nayxổ số miền bắc trực tiếp hôm naySO XOxsmbsxmn hôm nay188betlink188 xo sosoi cầu vip 88lô tô việtsoi lô việtXS247xs ba miềnchốt lô đẹp nhất hôm naychốt số xsmbCHƠI LÔ TÔsoi cau mn hom naychốt lô chuẩndu doan sxmtdự đoán xổ số onlinerồng bạch kim chốt 3 càng miễn phí hôm naythống kê lô gan miền bắcdàn đề lôCầu Kèo Đặc Biệtchốt cầu may mắnkết quả xổ số miền bắc hômSoi cầu vàng 777thẻ bài onlinedu doan mn 888soi cầu miền nam vipsoi cầu mt vipdàn de hôm nay7 cao thủ chốt sốsoi cau mien phi 7777 cao thủ chốt số nức tiếng3 càng miền bắcrồng bạch kim 777dàn de bất bạion newsddxsmn188betw88w88789bettf88sin88suvipsunwintf88five8812betsv88vn88Top 10 nhà cái uy tínsky88iwinlucky88nhacaisin88oxbetm88vn88w88789betiwinf8betrio66rio66lucky88oxbetvn88188bet789betMay-88five88one88sin88bk88xbetoxbetMU88188BETSV88RIO66ONBET88188betM88M88SV88Jun-68Jun-88one88iwinv9betw388OXBETw388w388onbetonbetonbetonbet88onbet88onbet88onbet88onbetonbetonbetonbetqh88mu88Nhà cái uy tínpog79vp777vp777vipbetvipbetuk88uk88typhu88typhu88tk88tk88sm66sm66me88me888live8live8livesm66me88win798livesm66me88win79pog79pog79vp777vp777uk88uk88tk88tk88luck8luck8kingbet86kingbet86k188k188hr99hr99123b8xbetvnvipbetsv66zbettaisunwin-vntyphu88vn138vwinvwinvi68ee881xbetrio66zbetvn138i9betvipfi88clubcf68onbet88ee88typhu88onbetonbetkhuyenmai12bet-moblie12betmoblietaimienphi247vi68clupcf68clupvipbeti9betqh88onb123onbefsoi cầunổ hũbắn cáđá gàđá gàgame bàicasinosoi cầuxóc đĩagame bàigiải mã giấc mơbầu cuaslot gamecasinonổ hủdàn đềBắn cácasinodàn đềnổ hũtài xỉuslot gamecasinobắn cáđá gàgame bàithể thaogame bàisoi cầukqsssoi cầucờ tướngbắn cágame bàixóc đĩaAG百家乐AG百家乐AG真人AG真人爱游戏华体会华体会im体育kok体育开云体育开云体育开云体育乐鱼体育乐鱼体育欧宝体育ob体育亚博体育亚博体育亚博体育亚博体育亚博体育亚博体育开云体育开云体育棋牌棋牌沙巴体育买球平台新葡京娱乐开云体育mu88qh88
Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Maria in Vancouver

Lifestyle3 days ago

How To Do Christmas & Hanukkah This Year

Christmas 2024 is literally just around the corner! Here in Vancouver, we just finished celebrating Taylor Swift’s last leg of...

Lifestyle1 month ago

Nobody Wants This…IRL (In Real Life)

Just like everyone else who’s binged on Netflix series, “Nobody Wants This” — a romcom about a newly single rabbi...

Lifestyle1 month ago

Family Estrangement: Why It’s Okay

Family estrangement is the absence of a previously long-standing relationship between family members via emotional or physical distancing to the...

Lifestyle3 months ago

Becoming Your Best Version

By Matter Laurel-Zalko As a woman, I’m constantly evolving. I’m constantly changing towards my better version each year. Actually, I’m...

Lifestyle3 months ago

The True Power of Manifestation

I truly believe in the power of our imagination and that what we believe in our lives is an actual...

Maria in Vancouver4 months ago

DECORATE YOUR HOME 101

By Matte Laurel-Zalko Our home interiors are an insight into our brains and our hearts. It is our own collaboration...

Maria in Vancouver4 months ago

Guide to Planning a Wedding in 2 Months

By Matte Laurel-Zalko Are you recently engaged and find yourself in a bit of a pickle because you and your...

Maria in Vancouver5 months ago

Staying Cool and Stylish this Summer

By Matte Laurel-Zalko I couldn’t agree more when the great late Ella Fitzgerald sang “Summertime and the livin’ is easy.”...

Maria in Vancouver5 months ago

Ageing Gratefully and Joyfully

My 56th trip around the sun is just around the corner! Whew. Wow. Admittedly, I used to be afraid of...

Maria in Vancouver6 months ago

My Love Affair With Pearls

On March 18, 2023, my article, The Power of Pearls was published. In that article, I wrote about the history...