Wednesday, 25 January 2017

Why dark backgrounds in a Tableau viz should be avoided

One of the design choices that you have to make when creating a visualisation is what colours to use, and in particular do you go for a light foreground and a dark background or vice versa. On the face of it, this can be thought of as just an aesthetic design decision, but in fact, it has some real implications that need to be considered. 

There are many things that can determine the colours used in a viz. I talked about this in my #data15 talk on colour. Sometimes it's the theme of the data. If it's a 'dark' subject then that lends itself to be a dark background and muted colours. If it's a fun poppy viz then bright candy colours work well. 

We always want to make or data viz look awesome and beautiful, but first and foremost it must be an accurate representation of the data, and this is where we have to consider the correct use of dark backgrounds. 

The issue is that it's harder to see small, faint light marks on a dark background than it is with a dark mark on a light background. This is something that Astronomers have known for years. 20 years ago (damn) I was an undergraduate studying for a degree in Astrophysics and spent a lot of time looking at images of star fields. More often than not you would be looking for faint galaxies or nebulae and it was much more effective to look at a negative image. Check out these two images below, the only thing that is different is one is the negative of the other. 

See how you can see a lot more detail in the lower image. imagine if you have data points that are there but faint and they get missed?

Here's an example made in Tableau. Each row has 100 points, all sized in the same way, the only difference is the reverse of the colour gradient. Notice that the light on black fade out a lot earlier. Try playing with the sliders for the reference line and see how much of a difference it makes

Now I am not saying you shouldn't use a dark background, just that if you do, make sure you can see all the marks. 


Author & Editor

Tableau Zen Master, Social Ambassador, Wrangler of Data, Vizzer of Data


  1. I just see the post i am so happy the post of information's.So I have really enjoyed and reading your blogs for these posts.Any way I’ll be subscribing to your feed and I hope you post again soon.

    digital marketing company in india

    1. IntelliMindz is the best IT Training in Bangalore with placement, offering 200 and more software courses with 100% Placement Assistance.

      Tableau Online Course
      Tableau Training In Bangalore
      Tableau Training In Chennai

  2. Truly a very good article on how to handle the future technology. After reading your post, thanks for taking the time to discuss this, I feel happy about and I love learning more about this topic
    Tableau Tutorial Videos


  3. Its a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way.Thank you so much

    Installment loans
    Payday loans
    Title loans
    Cash Advances

  4. Thanks a lot for posting this post, Your post has always been an informative source for me.
    Industrial Timing Belt Manufacturers in india

  5. This comment has been removed by the author.

  6. This comment has been removed by the author.

  7. Looking for the best writing service online but lost in the number of fake reviews and don’t know who to believe? We at ScamFighter publish only genuine reviews on all writing service from the web. Look at the last review on:

  8. Missing any data points at all can skew the final out come very badly.
    meet and greet Manchester
    Manchester airport parking deals

  9. Excellent Blog very imperative good content, this article is useful to beginners and real time
    employees.Thank u for sharing...
    Tableau training in mumbai
    Tableau course in mumbai

  10. Nice information by the author provided
    Best Play and Pre School for kids in Hyderabad,India. To give your kid a best environment and learning it is the right way to join in play and pre school were kids can build there physically, emotionally and mentally skills developed. We provide programs to kids like Play Group, Nursery, Sanjary Junior, Sanjary Senior and Teacher training Program.
    Preschool in hyderabad

  11. Thanks for sharing information
    "Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional
    Engineering Course like Piping Design Course,QA / QC Course,document Controller course,pressure Vessel Design Course,
    Welding Inspector Course, Quality Management Course, #Safety officer course."
    Piping Design Course
    Piping Design Course in India­
    Piping Design Course in Hyderabad
    Welding Inspector Course
    Quality Management Course
    Quality Management Course in india
    Safety officer course

  12. Nice Post
    We are the best piping design course in Hyderabad, India. Sanjary academy Offers Piping Design Course and Best Piping Design Training Institute in Hyderabad. Piping Design Institute in India Piping Design Engineering.
    Piping Design Course
    Piping Design Course in india
    Piping Design Course in hyderabad

  13. Recently a friend of mine showed me interesting things to write about an essay. We often need to write an essay We sometimes use an essay writing service. It helps us be better. I love using an essay writing service.

  14. I like to read scientific articles. I enjoy studying. I want to recommend this site to you. It is very useful. It helps me do my homework.

  15. This site helps to clear your all query.
    This is really worth reading. nice informative article.
    dbrau ba 3rd year result
    bu ba final year result

  16. This site helps to clear your all query. mp bhoj ba 3rd year result
    rbse 12th result This is really worth reading. nice informative article.

  17. I am very impressed with the article. The content of information is very informative. We are also providing the best services click on below links to visit our website.
    Snowflake Training
    Workday Training
    Okta Training
    AEM Training
    CyberArk Training

  18. You have great ideas to share something like this. Thanks for share this info.

    BCom 3rd Year Admit Card 2022