The other day while doing aimless roaming on the dotcom alley, I have seen some cool optical illusions. There are so many valuable lessons optical illusions can teach us – chart makers. Don’t believe me? Read on…
We cant measure sizes either
Much has been said about our inability to measure angles. That is why most of the charting gurus recommend you to not use pie charts. But what about sizes? Well, it seems we are bad at measuring them too. Look at this illusion.

Both the orange circles are of same size. As you can see, they don’t look so. I call this a bubble chart illusion.
What can this illusion teach us?
- Use data labels
- When you make a big chart, the neighbors of a data element determine how they are perceived. Avoid this illusion by adjusting axis, rearranging data or using color.
Colors are what we think they are
We talk alot about colors in charting. But when it comes to interpreting colors, our mind is very subjective. Look at this color illusion.

Can you believe both cells A and B are of the same color?
What can this illusion teach us?
- Use fewer colors when possible. Better still use one color.
- When you need to use multiple colors, make them distinct. If you use shades of same color, make sure they are not poorly juxtaposed.
Too much data can create un-necessary patterns
Look at this optical illusion that looks like a stacked bar chart. See how the lines don’t seem parallel.

I am sure some of you would have seen a stacked bar with enough data that looks closely like the above illusion.
What can this illusion teach us?
- If you are plotting too much data on a chart, make sure the chart is readable.
- Dont place chart elements (bars in this case) close to each other, don’t separate them too much either.
Gray color messes with our gray matter
There are just so many optical illusions involving gray color that I don’t know where to begin. See this for eg.

Because of its neither here nor there nature, gray color can easily mess with our mind (and eyes). One reason why excel 2003 and earlier charts looked so ugly is because of the gray color. They had that as default background.
What can this illusion teach us?
- Do not leave your chart’s underwear on – In other words, remove that default gray background from your charts.
- Avoid using close variations of gray when you plot multiple series of data.
No matter what your chart says, your audience will see what they want
You might think your chart proves pattern A. But your audience only see the pattern B. For eg. look at this illusion:

Some people instantly see a flower vase. Others see 2 faces. And this could be true for your charts.
What can this illusion teach us?
- Don’t leave the messages for interpretation. Spell them out if you can.
We over estimate our memory power
Our mind is notoriously forgetful and unlearns things so fast. Don’t trust me? Well, see this animated illusion.

Both yellow lines are of same length. But the moment the guiding lines are removed our mind tends to think first line is smaller than the next one. Add the guiding lines again and our mind quickly learns the fact that they are of same length. Remove it and it is as if we never learned the fact. In this great TED talk, the speaker Dan Ariely talks about the same and asks whether our mind is in complete control of the decisions we make.
What can this illusion teach us?
- Next time you set out to make that 50 slide presentation, remember this: “we are poor at remembering things”
- Use data labels, keep things simple and together if you can.
No one talks about a chart, but everyone talks about an illusion
Well, what can I say. I look at at least a dozen charts everyday. And yet, here I am, talking about optical illusions. That is true for most of us. We like magic, we like wonderful things and want to talk about them. We have seen one too many charts that they don’t excite us anymore. Show me an optical illusion and I am ready to stare at the black dot for 30 seconds. Show me a pie chart and I am yawning already.
What can this teach us?
- Whenever you can, tell a great story.
- Connect with your audience in unusual and exciting ways.
- Break some rules and don’t be shy to add a spark.
Additional charting resources to help you make magic:
- Better excel chart templates – Create great looking charts with these templates
- Vizooalization – What your neighborhood zoo can teach about visualization
- Charting Principles – Simple yet very effective rules to make great charts
















10 Responses to “Multiple Find Replace with Power Query List.Accumulate()”
Note: The text-formula above miss a -1. The video is correct.
😀 sorry, I made the exact same mistake as you did - initially - in the video. {0..3} is one thing, and Table.RowCount(replacements) -->3 items ={0,1,2} is another thing.
1st question : you've created a new column to put the replacements in. how ca we replace in the original column without creating a new one ?
2nd question : how can we replace the value in the entire cell and not only the text (Using ReplaceValue instead of text.Replace) ?
Thanks you in advance
Chandoo, I would be very interested to have your answers in both Yassine's questions!
Thank you for sharing,
Vassilis
Thank you for this! I was just doing an assignment where I was having to replace words with other words in my Excel sheet. We are starting with the basics in my class, so I know I don't have a huge list that I would need to find and replace, but this is something that could be useful down the road for me!
Hi
This is nearly perfect for my needs thank you, however I would like just the "replace" to be the result if possible please, I have tried in vain adjusting the formula without success.
Thank you in advance
Thank you! Awesome tip, and very flexible, too.
My find/replace values were in non-adjacent columns of a table containing a bunch of other data. Worked prefectly and I am now a tiny bit less clueless.
Hi!!!
I have the same question that Yassine did.
I need to replace the values in the same column. I don't want to create a new column e then have to remove the old column.
How could I could that?
That's a real fun article. It inspired me to delve deeper into the topic of List.Accumulate. I can see how the function works, but it takes an additional step to imagine how one can use it for more complex applications.
Your example also made it into my article, together with some other use-cases. Would be great to get your opinion on which other areas you would include in the article.
Let me drop the link to the page so others can too find it for further reading: https://gorilla.bi/power-query/list-accumulate/
Expression.Error: The name 'replacements' wasn't recognized. Make sure it's spelled correctly.