<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Data Revelations</title>
	<atom:link href="https://www.datarevelations.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.datarevelations.com/</link>
	<description>Dashboard &#38; data visualization workshops and consultation for everyone</description>
	<lastBuildDate>Thu, 10 Jul 2025 19:53:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>A better way to connect the dots</title>
		<link>https://www.datarevelations.com/a-better-way-to-connect-the-dots/</link>
					<comments>https://www.datarevelations.com/a-better-way-to-connect-the-dots/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Thu, 10 Jul 2025 19:53:52 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[General Discussions]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=11753</guid>

					<description><![CDATA[<p>A deep thanks to Ken Flerlage for helping me out with one of the tricky parts. The connected dot plot (aka, gap chart, dumbbell chart, and barbell chart) has become my “go to” for showing the differences within demographic groups for virtually any survey data question type (Percent top two boxes, Check-all-that-apply, Median hours worked,  [...]</p>
<p>The post <a href="https://www.datarevelations.com/a-better-way-to-connect-the-dots/">A better way to connect the dots</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em>A deep thanks to Ken Flerlage for helping me out with one of the tricky parts.</em></p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-11757" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1.png" alt="Two examples of a connected dot plot. One where values are the same and dots are hddien behind other dots and another where the dots with the same or similar values are offset" width="1121" height="884" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-200x158.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-300x237.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-400x315.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-500x394.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-600x473.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-700x552.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-768x606.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-800x631.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1-1024x808.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-0-1.png 1121w" sizes="(max-width: 1121px) 100vw, 1121px" /></p>
<p>The connected dot plot (aka, gap chart, dumbbell chart, and barbell chart) has become my “go to” for showing the differences within demographic groups for virtually any survey data question type (Percent top two boxes, Check-all-that-apply, Median hours worked, etc.)</p>
<p>But what do you do when the values within different groups overlap or are the same?</p>
<p>In this blog post we’ll see how you can offset those values so they don’t occlude each other.</p>
<p>By the way, this technique works for any type of connected dot plot, not just those related to survey data.</p>
<h2>Some examples in the wild</h2>
<p>“How do organizations that are really good at this stuff handle situations like this?” That’s the question I ask when I’m tasked with visualizing data. I very much like how Pew Research Center handles gaps between different members within a demographic group.</p>
<p>Here’s an example that I featured in <em><a href="https://www.datarevelations.com/books/">The Big Picture</a></em> that shows the difference among Black, Hispanic, and White survey respondents to a survey Pew Research Center conducted in 2018.</p>
<div id="attachment_11755" style="width: 1440px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-11755" class="size-full wp-image-11755" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1.png" alt="" width="1430" height="893" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-200x125.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-300x187.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-400x250.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-500x312.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-600x375.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-700x437.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-768x480.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-800x500.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-1024x639.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1-1200x749.png 1200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-1.png 1430w" sizes="(max-width: 1430px) 100vw, 1430px" /><p id="caption-attachment-11755" class="wp-caption-text">Figure 1 &#8212; A connected dot plot from Pew Research Center.</p></div>
<p>Here’s how I applied the same technique to <a href="https://www.datarevelations.com/likert-demographics/">visualize Likert scale data broken down by different demographics</a>.</p>
<div id="attachment_11760" style="width: 1199px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-11760" class="size-full wp-image-11760" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1.png" alt="" width="1189" height="876" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-200x147.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-300x221.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-400x295.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-500x368.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-600x442.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-700x516.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-768x566.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-800x589.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1-1024x754.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-2-1.png 1189w" sizes="(max-width: 1189px) 100vw, 1189px" /><p id="caption-attachment-11760" class="wp-caption-text">Figure 2 &#8212; A connected dot plot I created to handle multiple Likert-scale questions broken down into multiple generational segments.</p></div>
<h2>Yes, but how do you handle identical values?</h2>
<p>Look closely at the last row in the preceding graphic. Do you notice there are only three dots that are visible? The gray dot for “Generation X” is behind one of the other dots.</p>
<p>So… how do the pros address this problem?</p>
<p>Let’s look at another example from Pew Research where two values are identical.</p>
<div id="attachment_11774" style="width: 818px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11774" class="size-full wp-image-11774" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1.png" alt="" width="808" height="796" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-66x66.png 66w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-200x197.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-300x296.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-400x394.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-500x493.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-600x591.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-700x690.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-768x757.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1-800x788.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-3-1.png 808w" sizes="(max-width: 808px) 100vw, 808px" /><p id="caption-attachment-11774" class="wp-caption-text">Figure 3 &#8212; Identical values are offset from each other so you can see both dots.</p></div>
<p>Ah, they offset the values from the dotted line.</p>
<p>How do you do something like this in Tableau?</p>
<h2>Creating a connected dot plot with offset values in Tableau</h2>
<p>Here’s a data set I put together to illustrate the challenges. Notice the identical values in Cat 1 and Cat 2 and the near identical values in Cat 2.</p>
<div id="attachment_11773" style="width: 500px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11773" class="size-full wp-image-11773" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-4-1.png" alt="" width="490" height="513" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-4-1-200x209.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-4-1-287x300.png 287w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-4-1-400x419.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-4-1.png 490w" sizes="(max-width: 490px) 100vw, 490px" /><p id="caption-attachment-11773" class="wp-caption-text">Figure 4 &#8212; The sample data.</p></div>
<h3>Building a simple dot plot</h3>
<p>Here’s a simple dot plot. We’ll hold off connecting the dots until we figure out how to do the offset.</p>
<div id="attachment_11775" style="width: 970px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11775" class="size-full wp-image-11775" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1.png" alt="" width="960" height="386" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-200x80.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-300x121.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-400x161.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-500x201.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-600x241.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-700x281.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-768x309.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1-800x322.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-5-1.png 960w" sizes="(max-width: 960px) 100vw, 960px" /><p id="caption-attachment-11775" class="wp-caption-text">Figure 5 &#8212; A simple dot plot with dots that occlude other dots.</p></div>
<p>In the marks card we specify that we want to display circles (1) and that we want to have a different colored circle for each Item (2). The MAX(0) on Rows (3) is what allows us to display the dotted line. By default Tableau shows a dotted line for zero values for rows and columns.</p>
<p>Let’s see how to offset the dots so that we can see all five dots for both categories.</p>
<h2>Creating a simple offset</h2>
<p>Let’s deal with items that have equal values. Instead of placing MAX(0) on Rows we’ll fashion a calculated field called [Offset 1] that will move one of the items up a little higher on the Y-axis (1).</p>
<div id="attachment_11776" style="width: 979px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11776" class="size-full wp-image-11776" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1.png" alt="" width="969" height="378" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-200x78.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-300x117.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-400x156.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-500x195.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-600x234.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-700x273.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-768x300.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1-800x312.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-6-1.png 969w" sizes="(max-width: 969px) 100vw, 969px" /><p id="caption-attachment-11776" class="wp-caption-text">Figure 6 &#8212; A dot plot where any dot that would occlude another dot gets offset by .2 vertically.</p></div>
<p>The field [Offset 1] is defined as follows:</p>
<pre style="padding-left: 40px;">IF SUM([Value])-LOOKUP(SUM([Value]),-1)=0  then .2 else 0 END</pre>
<p>This translates as</p>
<p><em>If the current dot is equal to the previous dot (meaning when you subtract them you get zero), place the current dot at .2; otherwise, place the current dot at 0. The “.2” is arbitrary, it just needs to be any value greater than 0. </em></p>
<p>Since we’re using a table calculation (LOOKUP) we’ll need to define the scope of that table calculation so that is does the comparison across [Item] and then starts over when it gets to a new [Category].</p>
<p><div id="attachment_11777" style="width: 365px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11777" class="size-full wp-image-11777" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-7-1.png" alt="" width="355" height="470" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-7-1-200x265.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-7-1-227x300.png 227w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-7-1.png 355w" sizes="(max-width: 355px) 100vw, 355px" /><p id="caption-attachment-11777" class="wp-caption-text">Figure 7 &#8212; Defining the scope of [Offset 1].</p></div>Before we go any further let’s look at how the y-axis has been fixed to accommodate that .2 value.</p>
<div id="attachment_11778" style="width: 470px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11778" class="wp-image-11778 size-full" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-8-1.png" alt="" width="460" height="665" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-8-1-200x289.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-8-1-208x300.png 208w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-8-1-400x578.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-8-1.png 460w" sizes="(max-width: 460px) 100vw, 460px" /><p id="caption-attachment-11778" class="wp-caption-text">Figure 8 &#8212; Fixing the axis&#8217; start and end values.</p></div>
<p>The fixed axis creates more headroom which in turn forces the .2 dot to be closer to the dotted zero line. If we hadn’t adjusted the axis the offset dots would look like this.</p>
<div id="attachment_11779" style="width: 806px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11779" class="wp-image-11779 size-full" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1.png" alt="" width="796" height="248" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1-200x62.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1-300x93.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1-400x125.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1-500x156.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1-600x187.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1-700x218.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1-768x239.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-9-1.png 796w" sizes="(max-width: 796px) 100vw, 796px" /><p id="caption-attachment-11779" class="wp-caption-text">Figure 9 &#8212; Tableau&#8217;s automatic axis places the offset dot too high.</p></div>
<p>We’ve come up with a solution that addresses if there are a pair of dots that have the exact same value, but what about the two Items in Cat 2 that have values that are very close (25.0 and 25.1)?</p>
<p>Let’s see how we can address this as well as craft a symmetrical offset so we move one of the dots up and the other dot down.</p>
<h2>Creating a symmetrical offset that handles close values</h2>
<p>Here’s a more sophisticated approach to the Offset field.</p>
<pre style="padding-left: 40px;">IF ABS(SUM([Value])-LOOKUP(SUM([Value]),-1))&lt;=.3  then .2

ELSEIF ABS(SUM([Value])-LOOKUP(SUM([Value]),1))&lt;=.3 then -.2

ELSE 0

END</pre>
<p>This translates as</p>
<p><em>If the current dot is within .3 of the previous dot, then move the dot to .2, else, if the current dot is within .3 of the next dot, then move the dot to -.2; otherwise, place the current dot at 0.</em></p>
<p>Note that we need to adjust the y-axis so that it now accommodates both the dots that have been placed higher and the dots that have been placed lower. Here’s what things look like with the new [Offset 2] field.</p>
<div id="attachment_11780" style="width: 948px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11780" class="wp-image-11780 size-full" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1.png" alt="" width="938" height="381" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-200x81.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-300x122.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-400x162.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-500x203.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-600x244.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-669x272.png 669w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-700x284.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-768x312.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1-800x325.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-10-1.png 938w" sizes="(max-width: 938px) 100vw, 938px" /><p id="caption-attachment-11780" class="wp-caption-text">Figure 10 &#8212; Symmetrical offset that handles values that are close, in this case within .3.</p></div>
<h2>Adding the connecting line</h2>
<p>Let’s follow the standard approach to creating the connecting line. We’ll duplicate the SUM(Value) pill (1) and change the mark type for this second pill to be a line instead of a circle (2). Here’s what we get.</p>
<div id="attachment_11772" style="width: 1009px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11772" class="size-full wp-image-11772" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11.png" alt="" width="999" height="466" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-200x93.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-300x140.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-400x187.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-500x233.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-600x280.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-700x327.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-768x358.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11-800x373.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-11.png 999w" sizes="(max-width: 999px) 100vw, 999px" /><p id="caption-attachment-11772" class="wp-caption-text">Figure 11 – Running into a speedbump, in this case a zig-zaggy line, in trying to construct the connected dot plot.</p></div>
<p>The line indeed connects the dots, but because the dots are offset we get a zig-zaggy line (3). We need a way to flatten the line, as it were (we’ll deal with it being multi-colored in a bit).</p>
<p>This is where I received some help from Ken Flerlage who came up with a clever way to change the level of detail for the line (4, above). Currently, there are five Items / dots. Suppose we came up with a new dimension, based on the dimension [Item] that had only two elements, with those elements being the minimum and maximum Items?</p>
<p>That’s what Ken fashioned with this calculated field called [High and Low Item]:</p>
<pre style="padding-left: 40px;">IF {FIXED [Category], [Item]: SUM([Value])} = {FIXED [Category]: MAX({FIXED [Category], [Item]: SUM([Value])})} OR

{FIXED [Category], [Item]: SUM([Value])} = {FIXED [Category]: MIN({FIXED [Category], [Item]: SUM([Value])})} THEN

[Item]

END</pre>
<p>This translates as</p>
<p><em>If within each Category and Item, the sum of an Item is the same at the Maximum value within that Category and Item, or equal to the Minimum value within the same, then display that Item; otherwise, don’t display anything.</em></p>
<p>We need to use {Fixed} so that Tableau gives us a dimension that we can place on Color, Detail, or Path in the Marks card.</p>
<p>Let’s swap out Item with this new field and see what we get.</p>
<div id="attachment_11781" style="width: 1231px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11781" class="size-full wp-image-11781" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12.png" alt="" width="1221" height="463" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-200x76.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-300x114.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-400x152.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-500x190.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-600x228.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-700x265.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-768x291.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-800x303.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-1024x388.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12-1200x455.png 1200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-12.png 1221w" sizes="(max-width: 1221px) 100vw, 1221px" /><p id="caption-attachment-11781" class="wp-caption-text">Figure 12 &#8212; Getting closer. The lines are straight but they are not the correct length as Tableau is adding together too many values.</p></div>
<p>The calculated field <strong>High and Low Item</strong> placed on color (1, above) produces straight lines, but the lines are too long (2) as Tableau is adding too many values together. We’re also getting some extra coloring because of the Null values (3).</p>
<p>If we right-click Null in the color legend and select Hide we’ll have a line that is the correct length.</p>
<div id="attachment_11782" style="width: 1235px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11782" class="size-full wp-image-11782" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13.png" alt="" width="1225" height="450" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-200x73.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-300x110.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-400x147.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-500x184.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-600x220.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-700x257.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-768x282.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-800x294.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-1024x376.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13-1200x441.png 1200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-13.png 1225w" sizes="(max-width: 1225px) 100vw, 1225px" /><p id="caption-attachment-11782" class="wp-caption-text">Figure 13 &#8212; Very close. The lines are straight and they are the correct length, but we want them to be a light gray.</p></div>
<p>Now let’s move <strong>High and Low Item</strong> from Color to Path (you can also add it to Detail instead) and we have all the elements we need to create the connected dot plot.</p>
<p><div id="attachment_11783" style="width: 1076px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11783" class="size-full wp-image-11783" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14.png" alt="" width="1066" height="451" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-200x85.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-300x127.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-400x169.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-500x212.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-600x254.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-700x296.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-768x325.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-800x338.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14-1024x433.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-14.png 1066w" sizes="(max-width: 1066px) 100vw, 1066px" /><p id="caption-attachment-11783" class="wp-caption-text">Figure 14 – [High and Low Item] is now on Path (1). The Null values are still hidden, and we no longer have a multi-colored line.</p></div><strong><em>Pro Tip:</em></strong><em> Use MAX(Value) instead of SUM(Value) and you can avoid having to deal with the Nulls.</em></p>
<p>The hard part is done, we just need to</p>
<ol>
<li>Make this a dual axis chart by right-clicking the second SUM(Value) pill and selecting <strong>Dual Axis</strong>.</li>
<li>Right-click in the top axis and select <strong>Synchronize Axis</strong>.</li>
<li>Right-click the top axis and select <strong>Move marks to back</strong> (this just swaps the two green pills at the top).</li>
<li>Increase the thickness of the line by selecting the pill associated with the line and increasing the size on the Marks card.</li>
<li>Make the line color lighter.</li>
<li>Hide the top axis by right-clicking and deselecting <strong>Show header</strong>.</li>
<li>Hide the Offset 2 header by right-clicking on the Y-axis and deselecting <strong>Show header</strong>.</li>
</ol>
<p>Here’s the result:</p>
<div id="attachment_11784" style="width: 1062px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11784" class="size-full wp-image-11784" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15.png" alt="" width="1052" height="473" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-200x90.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-300x135.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-400x180.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-500x225.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-600x270.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-700x315.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-768x345.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-800x360.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15-1024x460.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-15.png 1052w" sizes="(max-width: 1052px) 100vw, 1052px" /><p id="caption-attachment-11784" class="wp-caption-text">Figure 15 &#8212; A connected dot plot with offset values.</p></div>
<h2>Bonus: how to ditch the legend</h2>
<p>Whenever possible I do my best to avoid color and size legends. In the example below I’ve labeled each of the items in the first row so we don’t have to refer to a legend. You do this by placing [Item] on Label in the Marks card (for the Circle pill only) but do <strong>NOT</strong> turn on Show marks label. Instead, right-click each dot, select <strong>Mark Label</strong> and then <strong>Always show</strong>.</p>
<div id="attachment_11785" style="width: 916px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11785" class="size-full wp-image-11785" src="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16.png" alt="" width="906" height="493" srcset="https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-200x109.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-300x163.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-400x218.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-500x272.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-600x326.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-700x381.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-768x418.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16-800x435.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/07/Figure-16.png 906w" sizes="(max-width: 906px) 100vw, 906px" /><p id="caption-attachment-11785" class="wp-caption-text">Figure 16 &#8212; A connected dot plot with direct labeling for the dots in the first row.</p></div>
<h2>Conclusion</h2>
<p>The connected dot plot remains my “go to” for showing gaps among different demographic groups for virtually any type of survey question. The technique discussed here addresses how you can offset elements when you have identical and near identical values.</p>
<p>Here’s the workbook that you can download.</p>
<div class='tableauPlaceholder' id='viz1752177040222' style='position: relative'><noscript><a href='#'><img alt='A better way to connect the dotsHow to display a connected dot plot when some of the values are the same ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Co&#47;ConnectedDotPlot_Offset_DataRevelations&#47;Connecteddotplotwithoffsetdashboard&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /><param name='embed_code_version' value='3' /><param name='site_root' value='' /><param name='name' value='ConnectedDotPlot_Offset_DataRevelations&#47;Connecteddotplotwithoffsetdashboard' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Co&#47;ConnectedDotPlot_Offset_DataRevelations&#47;Connecteddotplotwithoffsetdashboard&#47;1.png' /><param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /><param name='language' value='en-US' /></object></div>
<p>                <script type='text/javascript'>                    var divElement = document.getElementById('viz1752177040222');                    var vizElement = divElement.getElementsByTagName('object')[0];                    vizElement.style.width='750px';vizElement.style.height='627px';                    var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                </script></p>
<p>The post <a href="https://www.datarevelations.com/a-better-way-to-connect-the-dots/">A better way to connect the dots</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/a-better-way-to-connect-the-dots/feed/</wfw:commentRss>
			<slash:comments>14</slash:comments>
		
		
			</item>
		<item>
		<title>Actuals? Percentages? Why not show BOTH?</title>
		<link>https://www.datarevelations.com/actuals-percentages-why-not-show-both/</link>
					<comments>https://www.datarevelations.com/actuals-percentages-why-not-show-both/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Mon, 07 Apr 2025 01:15:37 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[General Discussions]]></category>
		<category><![CDATA[Makeovers]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=11704</guid>

					<description><![CDATA[<p>I recently saw a post on LinkedIn from Salma Sultana. If you don’t already follow Salma I encourage you to do so. Salma covers a lot of ground in her post, citing an example from Scott Berinato’s book Good Charts where Berinato underscores the importance of sketching and how he and Walter Frick brainstormed on  [...]</p>
<p>The post <a href="https://www.datarevelations.com/actuals-percentages-why-not-show-both/">Actuals? Percentages? Why not show BOTH?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="article-editor-content__paragraph">I recently saw a post on LinkedIn from Salma Sultana. If you don’t already follow <a class="article-editor-content__link article-editor-content__link" href="https://www.linkedin.com/in/-salma-sultana-/" rel="noopener noreferrer">Salma</a> I encourage you to do so.</p>
<p class="article-editor-content__paragraph">Salma covers a lot of ground in her <a class="article-editor-content__link article-editor-content__link" href="https://www.linkedin.com/posts/-salma-sultana-_when-youre-working-with-visualizations-for-activity-7308495090031673344-nXUA?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAAAB1oP8BgDKqWplrClR5EfegrbYyGkFHXvQ" rel="noopener noreferrer">post</a>, citing an example from Scott Berinato’s book <em>Good Charts</em> where Berinato underscores the importance of sketching and how he and Walter Frick brainstormed on how to compare the cost of selected Apple products to median monthly household income, based on when those products were released.</p>
<p class="article-editor-content__paragraph">I followed Salma’s link to a <a class="article-editor-content__link article-editor-content__link" href="https://hbr.org/2014/10/apple-luxury-brand-or-mass-marketer" rel="noopener noreferrer">Harvard Business Review article</a> and was struck by this proportional square chart, one of several in the article (Figure 1).</p>
<div id="attachment_11706" style="width: 682px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11706" class="wp-image-11706 size-full" src="https://www.datarevelations.com/wp-content/uploads/2025/04/1_HBR_1.png" alt="" width="672" height="449" srcset="https://www.datarevelations.com/wp-content/uploads/2025/04/1_HBR_1-200x134.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/04/1_HBR_1-300x200.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/04/1_HBR_1-400x267.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/04/1_HBR_1-500x334.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/04/1_HBR_1-600x401.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/04/1_HBR_1.png 672w" sizes="(max-width: 672px) 100vw, 672px" /><p id="caption-attachment-11706" class="wp-caption-text">Figure 1—Proportional square chart from Harvard Business Review article. See <a href="https://hbr.org/2014/10/apple-luxury-brand-or-mass-marketer">https://hbr.org/2014/10/apple-luxury-brand-or-mass-marketer</a>.</p></div>
<p class="article-editor-content__paragraph">The big squares represent the median monthly income for the year the Apple product was released and the smaller squares embedded represent the costs for the associated Apple product.</p>
<p class="article-editor-content__paragraph">“Ah,” I thought “yet another example of trying to show actuals and percentages at the same time.”</p>
<p class="article-editor-content__paragraph">This need to show both comes up so often that I make sure to cover it in my dashboard design workshops. Here’s an example that shows Percent of Goal and Sales across four regions (Figure 2).</p>
<div id="attachment_11708" style="width: 684px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11708" class=" wp-image-11708" src="https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined.png" alt="" width="674" height="245" srcset="https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-200x73.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-300x109.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-400x145.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-500x182.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-600x218.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-700x254.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-768x279.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-800x291.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-1024x372.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-1200x436.png 1200w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined-1536x558.png 1536w, https://www.datarevelations.com/wp-content/uploads/2025/04/28.4_combined.png 2946w" sizes="(max-width: 674px) 100vw, 674px" /><p id="caption-attachment-11708" class="wp-caption-text">Figure 2&#8211;Showing Percent of Goal and Sales at the same time</p></div>
<p class="article-editor-content__paragraph">It’s a combination of two charts. The bar-in-bar chart allows an easy comparison of <em>percent</em> <em>of goals</em> and the sales chart allows an easy comparison of <em>actual</em> sales.</p>
<p class="article-editor-content__paragraph">So, how might we apply this approach (or something similar) to the Apple product costs data?</p>
<h3 class="article-editor-content__heading">Actuals vs. Percentages, Take One</h3>
<p class="article-editor-content__paragraph">Before I go further, I want to make clear that I have no problems with the way the authors of the HBR article presented their data. As there isn&#8217;t a need to make accurate comparisons, the novel chart types are likely to draw readers in and the storytelling around the visualizations are entertaining and informative.</p>
<p class="article-editor-content__paragraph">But being a professional chart-looker-atter I couldn’t help thinking “how would I show this, especially in a business setting where I may have to compare many products?” It would be difficult to make accurate comparisons across many proportional square charts as they take up a lot of space and people are better at comparing the length of bars than they are estimating the area of squares or circles.</p>
<p class="article-editor-content__paragraph">With this in mind, let’s look at the raw data for six Apple products, the years they were introduced, the median monthly income for each year, and the associated product costs (Figure 3).</p>
<div id="attachment_11709" style="width: 426px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11709" class="size-full wp-image-11709" src="https://www.datarevelations.com/wp-content/uploads/2025/04/2_HBR_2_RawData-1.png" alt="" width="416" height="319" srcset="https://www.datarevelations.com/wp-content/uploads/2025/04/2_HBR_2_RawData-1-200x153.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/04/2_HBR_2_RawData-1-300x230.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/04/2_HBR_2_RawData-1-400x307.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/04/2_HBR_2_RawData-1.png 416w" sizes="(max-width: 416px) 100vw, 416px" /><p id="caption-attachment-11709" class="wp-caption-text">Figure 3&#8211;Table showing year, product name, product cost and monthly median income.</p></div>
<p class="article-editor-content__paragraph">Below I present all this information in a compact space that I hope makes it easy for people to make accurate comparisons and better understand the data (Figure 4).</p>
<div id="attachment_11710" style="width: 723px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11710" class="size-full wp-image-11710" src="https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies.png" alt="" width="713" height="539" srcset="https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies-200x151.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies-300x227.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies-400x302.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies-500x378.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies-600x454.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies-700x529.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/04/3_MyAttemptWithPies.png 713w" sizes="(max-width: 713px) 100vw, 713px" /><p id="caption-attachment-11710" class="wp-caption-text">Figure 4&#8211;Product cost, monthly income, and percent of monthly income.</p></div>
<p class="article-editor-content__paragraph">The bar-in-bar shows the actual product costs and actual median monthly incomes for each year / product while the pie charts (yes, pie charts!) shows the percentage, or “bite,” each product takes out of the median monthly income for that year.</p>
<h3 class="article-editor-content__heading">Not So Fast! Actuals vs. Percentages, Take Two.</h3>
<p class="article-editor-content__paragraph">I conveniently left out products that had costs that were greater than the monthly median incomes for the year the product was released. Consider the table below that adds the Apple II and Macintosh to the list of products (Figure 5).</p>
<div id="attachment_11711" style="width: 425px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11711" class="size-full wp-image-11711" src="https://www.datarevelations.com/wp-content/uploads/2025/04/4_MoreProducts.png" alt="" width="415" height="389" srcset="https://www.datarevelations.com/wp-content/uploads/2025/04/4_MoreProducts-200x187.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/04/4_MoreProducts-300x281.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/04/4_MoreProducts-400x375.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/04/4_MoreProducts.png 415w" sizes="(max-width: 415px) 100vw, 415px" /><p id="caption-attachment-11711" class="wp-caption-text">Figure 5&#8211;Highlighting two years when the selected Appl product costs more than the monthly median income.</p></div>
<p class="article-editor-content__paragraph">How do we show more than 100% with a pie chart? Yes, I’m sure that Apple Watch enthusiasts are thinking about closing the rings on their watches and what the watch shows when you exceed goals (Figure 6).</p>
<div id="attachment_11712" style="width: 373px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11712" class=" wp-image-11712" src="https://www.datarevelations.com/wp-content/uploads/2025/04/Apple-watch.png" alt="" width="363" height="369" srcset="https://www.datarevelations.com/wp-content/uploads/2025/04/Apple-watch-66x66.png 66w, https://www.datarevelations.com/wp-content/uploads/2025/04/Apple-watch-200x203.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/04/Apple-watch-295x300.png 295w, https://www.datarevelations.com/wp-content/uploads/2025/04/Apple-watch-400x406.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/04/Apple-watch.png 432w" sizes="(max-width: 363px) 100vw, 363px" /><p id="caption-attachment-11712" class="wp-caption-text">Figure 6&#8211;How the Apple Watch shows when you have exceeded your fitness goals in two of the three categories. I’m not a big fan of the concentric circles.</p></div>
<p class="article-editor-content__paragraph">In this case I would go with two bar-in-bar charts, like the one shown in Figure 7.</p>
<div id="attachment_11735" style="width: 780px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11735" class="wp-image-11735 size-full" src="https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars.png" alt="" width="770" height="551" srcset="https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars-200x143.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars-300x214.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars-400x286.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars-500x358.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars-600x429.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars-700x501.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars-768x550.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/04/5_AttemptWithMoreBars.png 770w" sizes="(max-width: 770px) 100vw, 770px" /><p id="caption-attachment-11735" class="wp-caption-text">Figure 7&#8211;Bar-in-bar for actuals and percentages.</p></div>
<p class="article-editor-content__paragraph">I think that many things that were buried in the table now become clear. For example, we can see the median monthly income almost doubled between 1984 and 1998. We can also see that those early Apple computers were very expensive!</p>
<h3 class="article-editor-content__heading">Where to Learn More</h3>
<p class="article-editor-content__paragraph">This certainly isn’t the only way to show actuals and percentages at the same time. My fellow authors and I address challenges like these, that importance of sketching, and many other data visualization trials in the forthcoming book <a class="article-editor-content__link article-editor-content__link" href="https://www.amazon.com/Dashboards-That-Deliver-Design-Develop/dp/1394281838/" rel="noopener noreferrer"><em>Dashboards That Deliver</em></a>.</p>
<p class="article-editor-content__paragraph article-editor-content__has-focus"><em>My thanks to Salma Sultana for both writing the original post and to Salma and </em><a class="article-editor-content__link article-editor-content__link" href="https://www.linkedin.com/in/abmakulec/" rel="noopener noreferrer"><em>Amanda Makulec</em></a><em> for providing feedback on the article.</em></p>
<p>The post <a href="https://www.datarevelations.com/actuals-percentages-why-not-show-both/">Actuals? Percentages? Why not show BOTH?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/actuals-percentages-why-not-show-both/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>A Haiku about color in data visualization</title>
		<link>https://www.datarevelations.com/a-haiku-about-color-in-data-visualization/</link>
					<comments>https://www.datarevelations.com/a-haiku-about-color-in-data-visualization/#respond</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Wed, 08 Jan 2025 01:55:45 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=11606</guid>

					<description><![CDATA[<p>I think the number one infraction in data visualization is the misuse of color. If I were pressed for time and had to distill my recommendations on color into a Haiku, it would be this: Make everything gray Except the few things you think Should be highlighted Yes, this is simple, bordering on the simplistic,  [...]</p>
<p>The post <a href="https://www.datarevelations.com/a-haiku-about-color-in-data-visualization/">A Haiku about color in data visualization</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="size-full wp-image-11616 aligncenter" src="https://www.datarevelations.com/wp-content/uploads/2025/01/Haiku_3-e1736358002627.png" alt="" width="400" height="398" /></p>
<p>I think the number one infraction in data visualization is the misuse of color.</p>
<p>If I were pressed for time and had to distill my recommendations on color into a Haiku, it would be this:</p>
<p style="padding-left: 40px;"><em>Make everything gray</em></p>
<p style="padding-left: 40px;"><em>Except the few things you think</em></p>
<p style="padding-left: 40px;"><em>Should be highlighted</em></p>
<p>Yes, this is simple, bordering on the simplistic, but it works in so many situations.</p>
<p>Consider the kaleidoscopic mess below on the left. What do you want the audience to make of this? It’s an overdose of categorical colors that provide no value. Now look at the chart on the right. The purposeful use of a highlight color makes it clear that you want people to compare Vietnam to the other countries.</p>
<div id="attachment_11607" style="width: 1206px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11607" class="wp-image-11607 size-full" src="https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one.png" alt="Side by side charts showing life expectancy for all the countries in Asia. The chart on the left has a different color bar for each country. The chart on the right has all light gray bars except Vietnam, which is dark gray." width="1196" height="764" srcset="https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-200x128.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-300x192.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-400x256.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-460x295.png 460w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-500x319.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-600x383.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-700x447.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-768x491.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-800x511.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one-1024x654.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/01/Too-Many-vs-one.png 1196w" sizes="(max-width: 1196px) 100vw, 1196px" /><p id="caption-attachment-11607" class="wp-caption-text"><em>Having a different color for each country makes the chart on the left hard to read but with the chart on the right, it’s easy for your audience to know where to focus (from the book </em>The Big Picture<em> by Steve Wexler).</em></p></div>
<p>There are <em>only five ways to use color in data visualization</em>. Once you understand how to apply each of these approaches, your visualizations will be much more effective.</p>
<div id="attachment_11608" style="width: 1322px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11608" class="size-full wp-image-11608" src="https://www.datarevelations.com/wp-content/uploads/2025/01/5ways.png" alt="A diagram that combines bar charts with color blocks to show the five ways of using color in data visualization." width="1312" height="372" srcset="https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-200x57.png 200w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-300x85.png 300w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-400x113.png 400w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-500x142.png 500w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-600x170.png 600w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-700x198.png 700w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-768x218.png 768w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-800x227.png 800w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-1024x290.png 1024w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways-1200x340.png 1200w, https://www.datarevelations.com/wp-content/uploads/2025/01/5ways.png 1312w" sizes="(max-width: 1312px) 100vw, 1312px" /><p id="caption-attachment-11608" class="wp-caption-text"><em>From the upcoming book </em>Dashboards That Deliver<em> by Steve Wexler, Jeffrey Shaffer, Andy Cotgreave, and Amanda Makulec. These “five ways” are also discussed in </em>The Big Book of Dashboards<em> and </em>The Big Picture<em>.</em></p></div>
<p>I make sure to cover the “five ways” in all my workshops. People who come in with headache-inducing visualizations leave with the ability to make clean, aesthetically pleasing visualizations that help your audience see what you want them to see.</p>
<p>&nbsp;</p>
<p><em>Dashboards That Deliver: How to Design, Develop, and Deploy Dashboards That Work</em> will be available September 2025.</p>
<p>The post <a href="https://www.datarevelations.com/a-haiku-about-color-in-data-visualization/">A Haiku about color in data visualization</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/a-haiku-about-color-in-data-visualization/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Let people know that you see them and hear them</title>
		<link>https://www.datarevelations.com/let-people-know-you-see-them-and-hear-them/</link>
					<comments>https://www.datarevelations.com/let-people-know-you-see-them-and-hear-them/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Thu, 21 Nov 2024 23:02:55 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[General Discussions]]></category>
		<category><![CDATA[Health and Social Issues]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=11592</guid>

					<description><![CDATA[<p>I hadn’t planned on founding Data Revelations in 2011. It was thrust upon me by a layoff. Out of work, I put a web site together and started blogging about visualizing survey data using Tableau. My hope was that these posts would help me land a consulting gig. As I waited for the phone to  [...]</p>
<p>The post <a href="https://www.datarevelations.com/let-people-know-you-see-them-and-hear-them/">Let people know that you see them and hear them</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I hadn’t planned on founding Data Revelations in 2011. It was thrust upon me by a layoff.</p>
<p>Out of work, I put a web site together and started blogging about visualizing survey data using Tableau. My hope was that these posts would help me land a consulting gig.</p>
<p>As I waited for the phone to ring, I realized I couldn’t keep producing content in a vacuum.</p>
<p>I needed validation. I needed someone to tell me what I was doing was helpful.</p>
<p>Shortly thereafter, two “someones” emailed me to tell me that they thought I had written something useful.</p>
<p>This was the fuel I needed to keep writing.</p>
<p>There’s a lot of noise on social media platforms. People starting out in a field have a hard time being seen and heard.</p>
<p>If you come across a newcomer who is producing something good, let them know. This might be the fuel they need to continue.</p>
<p>…</p>
<p><em>&#8220;Newcomer&#8221; doesn&#8217;t mean young. It means someone who is attempting something new or is entering a new field.</em></p>
<p><em>And if you are curious about the two people who gave me what I needed when I needed it, it was Joe Mako and Michael Cristiani.</em></p>
<p>The post <a href="https://www.datarevelations.com/let-people-know-you-see-them-and-hear-them/">Let people know that you see them and hear them</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/let-people-know-you-see-them-and-hear-them/feed/</wfw:commentRss>
			<slash:comments>55</slash:comments>
		
		
			</item>
		<item>
		<title>Why I Quit X (Twitter)</title>
		<link>https://www.datarevelations.com/why-i-quit-x-twitter/</link>
					<comments>https://www.datarevelations.com/why-i-quit-x-twitter/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Tue, 01 Oct 2024 16:25:59 +0000</pubDate>
				<category><![CDATA[General Discussions]]></category>
		<category><![CDATA[Musk]]></category>
		<category><![CDATA[Starlink]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[X]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=11570</guid>

					<description><![CDATA[<p>Last week I saw a reprehensible and delusional post from Elon Musk on his social media platform, X. Shortly thereafter I read Robert Reich’s Guardian opinion piece on how Elon Musk has gained a concerning level of power over US national security. For certain, Musk is a genius. He is our era’s Thomas Edison and  [...]</p>
<p>The post <a href="https://www.datarevelations.com/why-i-quit-x-twitter/">Why I Quit X (Twitter)</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="wp-image-11573 size-large" src="https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-1024x683.jpg" alt="Image of a post-it note that reads &quot;I quite&quot; affixed to a computer keyboard" width="1024" height="683" srcset="https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-66x44.jpg 66w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-177x118.jpg 177w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-200x133.jpg 200w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-300x200.jpg 300w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-320x213.jpg 320w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-400x267.jpg 400w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-460x307.jpg 460w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-500x333.jpg 500w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-540x360.jpg 540w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-600x400.jpg 600w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-669x446.jpg 669w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-700x467.jpg 700w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-768x512.jpg 768w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-800x533.jpg 800w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-940x627.jpg 940w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-1024x683.jpg 1024w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-1200x800.jpg 1200w, https://www.datarevelations.com/wp-content/uploads/2024/10/IQuit-1536x1024.jpg 1536w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>Last week I saw a reprehensible and delusional post from Elon Musk on his social media platform, X.</p>
<p>Shortly thereafter I read <a href="https://www.theguardian.com/commentisfree/2024/sep/26/elon-musk-us-national-security">Robert Reich’s <em>Guardian</em> opinion piece</a> on how Elon Musk has gained a concerning level of power over US national security.</p>
<p>For certain, Musk is a genius. He is our era’s Thomas Edison and Henry Ford combined. But he is also a man who has unfettered control of virtually all the world’s satellite internet service through Starlink. On a whim he can shut down a <a href="https://www.nytimes.com/interactive/2023/07/28/business/starlink.html?unlocked_article_code=1.O04.yB1c.Kec7t3Z1ioN6&amp;smid=url-share">country’s ability to communicate and perhaps its ability to defend itself</a>.</p>
<p>I cannot in good conscience be part of a platform run by such a powerful and egomaniacal person.</p>
<p>Musk is on pace to be the <a href="https://fortune.com/2024/09/09/elon-musk-worlds-first-trillionaire-net-worth-tesla-stock/">world’s first trillionaire by 2027</a> and my absence from X will have no impact on him whatsoever. But with my dropping out he will have one fewer active users to tout when he courts advertisers for his social media platform.</p>
<p>I <em>do</em> want to continue to have engaging data visualization discussions. I just won’t be having them on X. You can find me here:</p>
<p><strong>LinkedIn</strong>: <a href="https://www.linkedin.com/in/swexler/">https://www.linkedin.com/in/swexler/</a></p>
<p><strong>Bluesky:</strong> <a href="https://bsky.app/profile/datarevelations.com">https://bsky.app/profile/datarevelations.com</a></p>
<p>The post <a href="https://www.datarevelations.com/why-i-quit-x-twitter/">Why I Quit X (Twitter)</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/why-i-quit-x-twitter/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How do you explain what data visualization is?</title>
		<link>https://www.datarevelations.com/how-do-you-explain-to-others-what-data-visualization-is/</link>
					<comments>https://www.datarevelations.com/how-do-you-explain-to-others-what-data-visualization-is/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Tue, 23 Jul 2024 12:52:41 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[General Discussions]]></category>
		<category><![CDATA[Health and Social Issues]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=11519</guid>

					<description><![CDATA[<p>How do you explain what data visualization is and how helpful it can be? Join the discussion here. Background I recently had to address some serious health issues that required a lengthy hospital stay followed by a long in-patient rehab. I won't go into the details, but over the course of my stays people would  [...]</p>
<p>The post <a href="https://www.datarevelations.com/how-do-you-explain-to-others-what-data-visualization-is/">How do you explain what data visualization is?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em style="font-size: 16px;">How do you explain what data visualization is and how helpful it can be? <a href="https://www.linkedin.com/feed/update/urn:li:activity:7221497695444627456/">Join the discussion here.</a></em></p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-11530" src="https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-scaled.jpg" alt="" width="2560" height="1129" srcset="https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-66x29.jpg 66w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-177x78.jpg 177w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-200x88.jpg 200w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-300x132.jpg 300w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-320x141.jpg 320w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-400x176.jpg 400w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-460x203.jpg 460w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-500x220.jpg 500w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-540x238.jpg 540w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-600x265.jpg 600w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-669x295.jpg 669w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-700x309.jpg 700w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-768x339.jpg 768w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-800x353.jpg 800w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-940x414.jpg 940w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-1024x452.jpg 1024w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-1200x529.jpg 1200w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-1536x677.jpg 1536w, https://www.datarevelations.com/wp-content/uploads/2024/07/ConfusedDoctor-scaled.jpg 2560w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
<h3>Background</h3>
<p>I recently had to address some serious health issues that required a lengthy hospital stay followed by a long in-patient rehab. I won&#8217;t go into the details, but over the course of my stays people would ask me what I did for a living.</p>
<p>I would answer I was involved in data visualization.</p>
<p>Not one person who asked knew what that was, so I would try to explain what I did.</p>
<p>Sometimes it was easy, like when I had a follow up appointment where I was tethered to an EEG monitor for five days and it produced a real-time chart like the one shown here.</p>
<p><img decoding="async" src="https://uploads-ssl.webflow.com/5e2b590ca27de6be81c64780/6009b79da5d68efec33af0a2_5e9c218088adf78b3db5cc26_Severe%20generalized%20slowing%20with%20R%20temporo-posterior%20spike.png" alt="Delta frequency waves" /></p>
<p>Sparklines, sparklines, sparklines! If you are into sparklines, it doesn&#8217;t get better than this!</p>
<p>I would then point out that if you know how to read this constantly changing chart (I certainly don&#8217;t&#8230; same with MRIs), it was a lot easier than trying to read a constantly changing table full of numbers.</p>
<p>But for the people who were not involved with the real-time EEG monitor&#8230; how would I explain what data visualization is and how it could be so useful for the people trying to care for me?</p>
<h3>Trying to explain without being able to show</h3>
<p>It was hard not to lean into Tableau&#8217;s mission statement and say that &#8220;I help people see and understand data.&#8221; I would provide examples of where a really good chart&#8211;or a combination of charts&#8211;would reduce time to insight. Indeed, time to insight became the driving force of getting people to see the value of data visualization. In this setting we weren&#8217;t interested in getting people to &#8220;feel&#8221; something about the data.</p>
<p>We discussed everything from the number of patients on the floor, to how long they stayed, to time to respond to patient call bells, to the most pernicious of all the things I saw during my stay: the 1970s-styled lab reports.</p>
<p>You know them, the reports that show albumin levels, cholesterol, white blood cell counts, etc. You see your numbers and the &#8220;acceptable&#8221; range.</p>
<p>What happens when you fall out of the acceptable range? How far out of the range are you? When should you be mildly concerned and when should you panic? Is it easy to see this? I wrote about this in my book <a href="https://www.datarevelations.com/books/"><em>The Big Picture</em></a> and shared an example that Amanda Makulec presented at a visualization conference several years ago. Here&#8217;s a snippet from the book.</p>
<h3>Reimagining Lab Tests</h3>
<p>Amanda Makulec is a consultant and Executive Director at the Data Visualization Society. After her father had a second battle against kidney cancer, Makulec decided that she should submit to a genetic test and discovered that she, like her father, had Lynch syndrome that put her at greater risk for several different types of cancers. The lab results she received were presented in a table like the one shown in Figure 9.44</p>
<p>Lots of body parts, lots of numbers, and lots of red. And a lot of frustration with the way the data was presented.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11523" src="https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs.png" alt="" width="1778" height="640" srcset="https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-66x24.png 66w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-177x64.png 177w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-200x72.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-300x108.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-320x115.png 320w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-400x144.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-460x166.png 460w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-500x180.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-540x194.png 540w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-600x216.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-669x241.png 669w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-700x252.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-768x276.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-800x288.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-940x338.png 940w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-1024x369.png 1024w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-1200x432.png 1200w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs-1536x553.png 1536w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.44-AmandaLabs.png 1778w" sizes="(max-width: 1778px) 100vw, 1778px" /></p>
<p>It’s hard not to be particularly alarmed by the first set of numbers (55%–82%) and just focus on the 82%, suggesting a four out of five risk of that body part developing cancer.</p>
<p>Armed with both a master’s degree in public health and data visualization expertise, Makulec could interpret the results but wondered about those not as well steeped in reading and understanding health-related numbers. She wished the testing company had presented the results this way instead.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11524" src="https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover.png" alt="" width="1220" height="381" srcset="https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-66x21.png 66w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-177x55.png 177w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-200x62.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-300x94.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-320x100.png 320w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-400x125.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-460x144.png 460w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-500x156.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-540x169.png 540w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-600x187.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-669x209.png 669w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-700x219.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-768x240.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-800x250.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-940x294.png 940w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-1024x320.png 1024w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover-1200x375.png 1200w, https://www.datarevelations.com/wp-content/uploads/2024/07/Figure-9.45-AmandaMakeover.png 1220w" sizes="(max-width: 1220px) 100vw, 1220px" /></p>
<p>If you are wondering why there is a dot for the general population and a very wide range for Makulec, it’s because of the amount of data the testing organization maintains. They have a great deal of data about the general population but sparse data from people with Lynch syndrome, so the margin of error is very wide, hence the wide range bars.</p>
<h3>These institutions can do better</h3>
<p>I&#8217;m scratching my head wondering why these institutions do such a poor job with both lab reports and operations data (I probably shouldn&#8217;t be scratching my head as there are still some scarring). I&#8217;m sure if the data visualization community got the chance, we could help make both the internal operations data and the patient-facing data so much easier to interpret.</p>
<p>What do you think about this and again, how do you explain what you do and how data visualization can help? <a href="https://www.linkedin.com/feed/update/urn:li:activity:7221497695444627456/">Join the discussion here.</a></p>
<p><em>Note: the in-patient rehab where I recovered for two weeks was so helpful I plan to volunteer my services. I am very grateful to them.</em></p>
<p>The post <a href="https://www.datarevelations.com/how-do-you-explain-to-others-what-data-visualization-is/">How do you explain what data visualization is?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/how-do-you-explain-to-others-what-data-visualization-is/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Just how carefully did you look at the data?</title>
		<link>https://www.datarevelations.com/just-how-carefully/</link>
					<comments>https://www.datarevelations.com/just-how-carefully/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Wed, 14 Feb 2024 17:30:42 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[General Discussions]]></category>
		<category><![CDATA[Makeovers]]></category>
		<category><![CDATA[makeover monday]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=11257</guid>

					<description><![CDATA[<p>Delight, dismay, and why it’s your responsibility to vet the data Thank you to Alli Torban, Anna Foard, and Ben Jones for their feedback. My Delight A few weeks ago, I saw this terrific interactive graphic in one of my social media feeds. It was part of a recent Makeover Monday challenge. What a great  [...]</p>
<p>The post <a href="https://www.datarevelations.com/just-how-carefully/">Just how carefully did you look at the data?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3 class="article-editor-content__heading article-editor-content__has-focus">Delight, dismay, and why it’s your responsibility to vet the data</h3>
<p class="article-editor-content__paragraph"><em>Thank you to Alli Torban, Anna Foard, and Ben Jones for their feedback.</em></p>
<h3 class="article-editor-content__heading">My Delight</h3>
<p class="article-editor-content__paragraph">A few weeks ago, I saw this <a class="article-editor-content__link article-editor-content__link" href="https://shivrajc.com/new-year-resolutions/" rel="noopener noreferrer">terrific interactive graphic</a> in one of my social media feeds. It was part of a recent <a class="article-editor-content__link article-editor-content__link" href="https://makeovermonday.co.uk/" rel="noopener noreferrer">Makeover Monday</a> challenge.</p>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11260" src="https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C.png" alt="" width="1243" height="927" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-200x149.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-300x224.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-400x298.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-500x373.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-600x447.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-700x522.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-768x573.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-800x597.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-1024x764.png 1024w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C-1200x895.png 1200w, https://www.datarevelations.com/wp-content/uploads/2024/02/01_-Shivaraj-C.png 1243w" sizes="(max-width: 1243px) 100vw, 1243px" /></figure>
<p class="article-editor-content__paragraph">What a great way to show rank and magnitude at the same time, as opposed to a bump chart, which only shows ranking. There are lots of nice touches in this, including the text along the top of the bar, the thin reference lines that show where 100% is, and the right-aligned numbers.</p>
<p class="article-editor-content__paragraph">And it got even better. Here’s what happens when you see the same graphic rendered on a phone.</p>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11259" src="https://www.datarevelations.com/wp-content/uploads/2024/02/02_DotPlot.png" alt="" width="452" height="996" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/02_DotPlot-136x300.png 136w, https://www.datarevelations.com/wp-content/uploads/2024/02/02_DotPlot-200x441.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/02_DotPlot-400x881.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/02_DotPlot.png 452w" sizes="(max-width: 452px) 100vw, 452px" /></figure>
<p class="article-editor-content__paragraph">Two great approaches to showing the data. Just who is this <a class="article-editor-content__link article-editor-content__link" href="https://shivrajc.com/" rel="noopener noreferrer">shivaraj c</a> practitioner who makes such good stuff?</p>
<p class="article-editor-content__paragraph">I saw some other renderings that I liked a great deal, including this connected dot plot from <a class="article-editor-content__link article-editor-content__link" href="https://twitter.com/Jhoie__" rel="noopener noreferrer">Jhoie Victor</a>, below. Notice the color of the connecting line to highlight where Young exceeds Old (blue) and where Old exceeds Young (orange.)</p>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11261" src="https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor.png" alt="" width="1187" height="901" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-200x152.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-300x228.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-400x304.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-500x380.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-600x455.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-700x531.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-768x583.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-800x607.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor-1024x777.png 1024w, https://www.datarevelations.com/wp-content/uploads/2024/02/03_jhoie-victor.png 1187w" sizes="(max-width: 1187px) 100vw, 1187px" /></figure>
<p class="article-editor-content__paragraph">And just look at the huge gaps between older and younger people, especially with respect to saving more money, pursuing a career ambition, taking up a hobby, spending less time on social media, and improving diet.</p>
<p class="article-editor-content__paragraph">Those are really large gaps.</p>
<p class="article-editor-content__paragraph">Which got me curious about the data.</p>
<p class="article-editor-content__paragraph">Which led to my dismay.</p>
<h3 class="article-editor-content__heading">My Dismay</h3>
<p class="article-editor-content__paragraph">Let’s have a look at the Makeover Monday site to see what was available to participants.</p>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11491" src="https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource.png" alt="" width="1175" height="281" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-200x48.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-300x72.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-400x96.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-500x120.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-600x143.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-700x167.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-768x184.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-800x191.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource-1024x245.png 1024w, https://www.datarevelations.com/wp-content/uploads/2024/02/04_MMSource.png 1175w" sizes="(max-width: 1175px) 100vw, 1175px" /></figure>
<p class="article-editor-content__paragraph">We have a <a class="article-editor-content__link article-editor-content__link" href="https://data.world/makeovermonday/britions-newyearsresolutions-2024" rel="noopener noreferrer">link to the data</a> (1), <a class="article-editor-content__link article-editor-content__link" href="https://insideoutmastery.com/new-years-resolution-statistics/" rel="noopener noreferrer">an article that queues up the discussion</a> (2), and the <a class="article-editor-content__link article-editor-content__link" href="https://ygo-assets-websites-editorial-emea.yougov.net/documents/YouGov_-_New_Years_resolutions_2024.pdf" rel="noopener noreferrer">data source</a> (3).</p>
<p class="article-editor-content__paragraph">Here’s the data set.</p>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11493" src="https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData.png" alt="" width="977" height="437" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-200x89.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-300x134.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-400x179.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-500x224.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-600x268.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-700x313.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-768x344.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData-800x358.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/02/05_TheData.png 977w" sizes="(max-width: 977px) 100vw, 977px" /></figure>
<p class="article-editor-content__paragraph">This seems straightforward… but did anybody pause to vet the quality of the data? That is, did anybody stop and think <strong>“I’m about to amplify the findings in this data… am I sure the data is correct?”</strong></p>
<p class="article-editor-content__paragraph">My guess is that few did, as a visit to the source data would show that the number of respondents who participated in this part of the survey was quite small, which means the findings are going to be fuzzy, at best.</p>
<p class="article-editor-content__paragraph">Let’s have a look.</p>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11494" src="https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source.png" alt="" width="1167" height="745" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-200x128.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-300x192.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-400x255.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-460x295.png 460w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-500x319.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-600x383.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-700x447.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-768x490.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-800x511.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source-1024x654.png 1024w, https://www.datarevelations.com/wp-content/uploads/2024/02/06_Source.png 1167w" sizes="(max-width: 1167px) 100vw, 1167px" /></figure>
<p class="article-editor-content__paragraph">Everything above the line (1) is a response count, and everything below the line is a percentage. The survey sample is robust, with over 2,000 participants (2).</p>
<p class="article-editor-content__paragraph">Of these participants we see that 29% of younger people but only 6% of older people will make new year’s resolutions for 2024 (3). THAT is a very interesting finding with a solid response count, but not the focus of the Makeover Monday exercise.</p>
<p class="article-editor-content__paragraph">Now here’s where things get dicey. Look at the count of people who in fact plan to make resolutions (4). <strong>There are only 330 respondents</strong>. How do you get that number?  If only six percent of 541 people who are 65 or older plan to make a resolution, that means the total number of respondents in that demographic category is 32. And 29% of the 154 people who are between 18-24 years old planning to make resolutions yields a response count of 45. Do the same multiplication across the other two age groups and you get 330 responses.</p>
<p class="article-editor-content__paragraph">Yeah, Yeah, I know 29% of 154 is 44.66. Clearly, they rounded off the percentages.</p>
<p class="article-editor-content__paragraph">So, we have 32 respondents who are 65+ and 45 respondents who are between 18 and 24.</p>
<p class="article-editor-content__paragraph"><strong>When you have a response count this low, the margin of error is extremely high, </strong>but in the ten Makeover Monday submissions I reviewed nobody mentioned this.</p>
<h3 class="article-editor-content__heading">Let’s Explore Showing Margin of Error</h3>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11499" src="https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions.png" alt="" width="930" height="908" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-200x195.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-300x293.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-400x391.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-500x488.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-600x586.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-700x683.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-768x750.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions-800x781.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/02/09a_whichresolutions.png 930w" sizes="(max-width: 930px) 100vw, 930px" /></figure>
<p class="article-editor-content__paragraph">Sure, there’s a very big gap between the first and fourth questions (“saving more money” and “pursuing a career ambitions”) but there also looks to be a big gap for the sixth question, “taking up a new hobby” (32% vs 14%).</p>
<p class="article-editor-content__paragraph">But… there’s also a massive margin of error.</p>
<p class="article-editor-content__paragraph">Let’s see how to compute the margin of error for the 32% of the respondents aged 18 &#8211; 24 who stated they plan to take up a new hobby.</p>
<p class="article-editor-content__paragraph">The formula to <a class="article-editor-content__link article-editor-content__link" href="https://goodcalculators.com/margin-of-error-calculator/" rel="noopener noreferrer">compute the margin of error</a> is</p>
<p class="article-editor-content__paragraph">MoE = z *<em> sqrt(p̂ ⋅</em>* (1-p̂)) / sqrt(n)</p>
<p class="article-editor-content__paragraph">Where z is the z-score associated with the level of confidence. A z-score of 1.645, indicating that we want to be within 1.645 standard deviations above or below the population mean, is what we use for a 90% confidence level. If we want a 95% confidence level we would increase the Z-score to 1.96.</p>
<p class="article-editor-content__paragraph">The p̂ represents the percentage of respondents who said yes to the question, in our case 32%, and n is the number of respondents (45). Using this formula, we get</p>
<p class="article-editor-content__paragraph">MoE = 1.645 *<em> sqrt(0.32 </em>* (1-0.32)) / sqrt(45)</p>
<p class="article-editor-content__paragraph">and that yields a margin of error of a little over 11%.</p>
<p class="article-editor-content__paragraph">It turns out that the 32% for the younger cohort is 32%&#8230; <strong><em>+ / &#8211; 11 points!</em></strong> This means that if we were to survey a sample of the population repeatedly, we can state with 90% confidence that the true value would be between 21% and 43%.</p>
<p class="article-editor-content__paragraph">That’s a very wide range.</p>
<p class="article-editor-content__paragraph">Here’s the same data, but with showing the margin of error.</p>
<figure class="article-editor-content__figure-image"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-11498" src="https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1.png" alt="" width="930" height="908" srcset="https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-200x195.png 200w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-300x293.png 300w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-400x391.png 400w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-500x488.png 500w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-600x586.png 600w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-700x683.png 700w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-768x750.png 768w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1-800x781.png 800w, https://www.datarevelations.com/wp-content/uploads/2024/02/10a_which_moe-1.png 930w" sizes="(max-width: 930px) 100vw, 930px" /></figure>
<p class="article-editor-content__paragraph">There are only three questions where you can say, with 90% confidence, that there is a gap between older and younger participants (“saving more money”, “pursuing a career ambition”, and “spending less time on social media”). All the other questions have an overlap.</p>
<p class="article-editor-content__paragraph">If you are thinking “the range of values is so large… how can anyone report results with authority?” then you have an idea why I’m dismayed.</p>
<h3 class="article-editor-content__heading">What should be done, and who should be doing it?</h3>
<p class="article-editor-content__paragraph">Before going any further, I don’t think disseminating questionable conclusions from <em>this data</em> is going to do any harm, except for maybe denting the reputations of folks who didn’t bother to vet the data and <strong>at least display a footnote noting the margin of error.</strong></p>
<p class="article-editor-content__paragraph">As for who is responsible for vetting the data, when I first brought this to the attention for the team that’s now running Makeover Monday (Irene Diomi, Chimdi Nwosu, and Harry Beardon), here’s how one of the leaders responded:</p>
<p class="article-editor-content__paragraph"><em>“It is on me… I picked the dataset. These are good insights on the data quality, I have to admit I didn’t spend enough time looking at it but it is important to take into account sample size and weights.</em></p>
<p class="article-editor-content__paragraph"><em>I’ll keep this in mind for future datasets.”</em></p>
<p class="article-editor-content__paragraph">I love it when people own up to a mistake, but I don’t think this is just the leaders’ responsibility. <strong>I think ALL OF US have a responsibility to interrogate the data thoroughly before publishing visualizations that make assertions.</strong></p>
<p class="article-editor-content__paragraph">Realize this was not <a class="article-editor-content__link article-editor-content__link" href="https://sonsofhierarchies.com/real-world-fake-data/" rel="noopener noreferrer">Real World, Fake Data</a> (one of my favorite data visualization social media projects). With this Makeover Monday challenge, <strong>every time a person publishes a visualization asserting the source conclusions, that person is amplifying the idea that “these are facts!”</strong></p>
<p class="article-editor-content__paragraph">As I said before, in this case I think there was little harm in asserting questionable differences in New Year’s Resolutions proclivities. Who knows, a larger survey sample may reveal the findings from this survey are spot on.</p>
<p class="article-editor-content__paragraph">But there have been cases where people amplified false assertions that may have done some real harm. I encourage folks to <a class="article-editor-content__link article-editor-content__link" href="https://www.datarevelations.com/sowrong/" rel="noopener noreferrer">read this blog post</a> that I wrote with my friend and colleague, Jeff Shaffer.</p>
<p class="article-editor-content__paragraph">I don’t want to come off as “holier than thou” as I have screwed up on countless occasions and I have to actively remind myself that vetting the data is not somebody else’s job. It’s a critical part of <em>my</em> job.</p>
<p class="article-editor-content__paragraph">And it’s a critical part of your job, too, so please… do your job well.</p>
<h3 class="article-editor-content__heading">Recommended reading</h3>
<p class="article-editor-content__paragraph">If you don’t already own it, purchase a copy of Ben Jones’ gem of a book <a class="article-editor-content__link article-editor-content__link" href="https://www.amazon.com/Avoiding-Data-Pitfalls-presenting-visualizations/dp/1119278163" rel="noopener noreferrer"><em>Avoiding Data Pitfalls</em></a>.</p>
<p class="article-editor-content__paragraph"><a class="article-editor-content__link article-editor-content__link" href="https://goodcalculators.com/margin-of-error-calculator/" rel="noopener noreferrer">Good Calculators</a> has a very good Margin of Error calculator that allows you to input values.</p>
<p class="article-editor-content__paragraph">I’ve written several blog posts about how to visualize margin of error in survey data. Here are two that you may find valuable.</p>
<p class="article-editor-content__paragraph"><a class="article-editor-content__link article-editor-content__link" href="https://www.datarevelations.com/showing-uncertainty/" rel="noopener noreferrer">Showing uncertainty in survey results &#8211; Data Revelations</a></p>
<p class="article-editor-content__paragraph">and</p>
<p class="article-editor-content__paragraph"><a class="article-editor-content__link article-editor-content__link" href="https://www.datarevelations.com/marginoferror/" rel="noopener noreferrer">More thoughts on showing Margin of Error in survey data with Tableau &#8211; Data Revelations</a>.</p>
<p>The post <a href="https://www.datarevelations.com/just-how-carefully/">Just how carefully did you look at the data?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/just-how-carefully/feed/</wfw:commentRss>
			<slash:comments>44</slash:comments>
		
		
			</item>
		<item>
		<title>How many lines are too many?</title>
		<link>https://www.datarevelations.com/how-many-lines-are-too-many-lines/</link>
					<comments>https://www.datarevelations.com/how-many-lines-are-too-many-lines/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Thu, 26 Oct 2023 23:42:18 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[Makeovers]]></category>
		<category><![CDATA[line chart]]></category>
		<category><![CDATA[small multiples]]></category>
		<category><![CDATA[trellis chart]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=10588</guid>

					<description><![CDATA[<p>And how many colors are too many, too? Overview There are a lot of ways to show measures over time for multiple categories. I want to explore what works, when it works, and make sure that a particular technique catches your interest. But first… a big shout out to Nick Desbarats whose book, Practical Charts,  [...]</p>
<p>The post <a href="https://www.datarevelations.com/how-many-lines-are-too-many-lines/">How many lines are too many?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>And how many colors are too many, too?</p>
<h2>Overview</h2>
<p>There are a lot of ways to show measures over time for multiple categories. I want to explore what works, when it works, and make sure that a particular technique catches your interest.</p>
<p>But first… a big shout out to Nick Desbarats whose book, <em><a href="https://www.practicalreporting.com/books">Practical Charts</a></em>, provides both observations and approaches that I had not considered. Strongly recommended.</p>
<h2>Background</h2>
<p>I enjoyed a great discussion during one of my data visualization and storytelling workshops. The catalyst was a combination of this hot mess “before” picture…</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10589" src="https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess.png" alt="&quot;Hot Mess&quot; viz with too many colored lines and every point labeled. " width="1417" height="997" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-200x141.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-300x211.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-400x281.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-500x352.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-600x422.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-700x493.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-768x540.png 768w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-800x563.png 800w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-1024x720.png 1024w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess-1200x844.png 1200w, https://www.datarevelations.com/wp-content/uploads/2023/10/01_HotMess.png 1417w" sizes="(max-width: 1417px) 100vw, 1417px" /></p>
<p>… combined with this uncluttered, curated “after” picture.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10590" src="https://www.datarevelations.com/wp-content/uploads/2023/10/02_After.png" alt="After example, with only one line highlighted." width="1778" height="1054" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-200x119.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-300x178.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-400x237.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-500x296.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-600x356.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-700x415.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-768x455.png 768w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-800x474.png 800w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-1024x607.png 1024w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-1200x711.png 1200w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After-1536x911.png 1536w, https://www.datarevelations.com/wp-content/uploads/2023/10/02_After.png 1778w" sizes="(max-width: 1778px) 100vw, 1778px" /></p>
<p>We explored how the after picture only highlights one line, shows only the starting and ending values, has a clear title takeaway, and has interactivity so the audience can focus on a different category.</p>
<h2>Does <em>this</em> work?</h2>
<p>This led to one attendee sharing a visualization he had been working on which had five lines, each a different color. It looked something like this.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10591" src="https://www.datarevelations.com/wp-content/uploads/2023/10/03_FiveThingsNoOverlap.png" alt="" width="650" height="350" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/03_FiveThingsNoOverlap-200x108.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/03_FiveThingsNoOverlap-300x162.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/03_FiveThingsNoOverlap-400x215.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/03_FiveThingsNoOverlap-500x269.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/03_FiveThingsNoOverlap-600x323.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/03_FiveThingsNoOverlap.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>The attendee’s biggest concern was having a different color for each line. Indeed, anytime I see more than four categorical colors in a visualization I get nervous. Will this be too much for my audience to process?</p>
<p>We discussed the visualization for a bit and realized that because there was little or no overlap among the lines, we could even ditch color completely and it was still easy to understand the chart.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10592" src="https://www.datarevelations.com/wp-content/uploads/2023/10/04_Monochrome_no-overlap.png" alt="Five lines, little overlap, monochrome. This is readable." width="650" height="350" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/04_Monochrome_no-overlap-200x108.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/04_Monochrome_no-overlap-300x162.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/04_Monochrome_no-overlap-400x215.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/04_Monochrome_no-overlap-500x269.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/04_Monochrome_no-overlap-600x323.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/04_Monochrome_no-overlap.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<h2>But what if there’s overlap?</h2>
<p>The example we had wasn’t particularly noisy, so I wanted to explore what happens when you have five lines that bounce around a bit.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10593" src="https://www.datarevelations.com/wp-content/uploads/2023/10/05_FiveThingsOverlapColor.png" alt="Lots of overlap, five colors. This works... but barely." width="650" height="350" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/05_FiveThingsOverlapColor-200x108.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/05_FiveThingsOverlapColor-300x162.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/05_FiveThingsOverlapColor-400x215.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/05_FiveThingsOverlapColor-500x269.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/05_FiveThingsOverlapColor-600x323.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/05_FiveThingsOverlapColor.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>For me, this is on the threshold of non-readability. I know that is very subjective, but as a professional chart looker-atter, if I find something difficult, I can almost guarantee that my non-professional chart looker-atter audience will find it difficult, too.</p>
<p>Also, the “noisy” chart fails the monochrome test, at least in my opinion, as shown below.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10594" src="https://www.datarevelations.com/wp-content/uploads/2023/10/06_FiveThingsOverlapMno.png" alt="With so many lines overlapping, presenting this in monochrome doesn't work well." width="650" height="350" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/06_FiveThingsOverlapMno-200x108.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/06_FiveThingsOverlapMno-300x162.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/06_FiveThingsOverlapMno-400x215.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/06_FiveThingsOverlapMno-500x269.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/06_FiveThingsOverlapMno-600x323.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/06_FiveThingsOverlapMno.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<h2>Answering the “It Depends” questions</h2>
<p>My friend and co-author, Andy Cotgreave, has a t-shirt with the words “It Depends” emblazoned on the front. It’s how he (and I, for that matter) address all of the “which chart is best / how many colors should I have / is it okay to use a pie chart” questions we get during our workshops and presentations.</p>
<p>This is one of the reasons I like Nick Desbarats book so much. It does an effective job of moving the discussion from “It Depends” to “under these circumstances, do this.”</p>
<p>For example, I was ready to say, unequivocally, that ten lines, each a different color, will never work.</p>
<p>But in his book, Nick points out where a 10+ line chart <em>could</em> work.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10595" src="https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings.png" alt="A snippet from Desbarats' book where he shows how ten lines can work, and where it doesn't." width="991" height="553" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-200x112.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-300x167.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-400x223.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-500x279.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-600x335.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-700x391.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-768x429.png 768w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings-800x446.png 800w, https://www.datarevelations.com/wp-content/uploads/2023/10/07_TenThings.png 991w" sizes="(max-width: 991px) 100vw, 991px" /></p>
<p>Source: <em>Practical Charts</em> by Nick Desbarats</p>
<p>I agree that the chart on the left is readable, but I still think it’s risky to try something like this in a “living” dashboard because when the data changes, the readability may change, too.</p>
<p>So, what would be a safer approach?</p>
<h2>THIS is the one you should have in your arsenal</h2>
<p>I’m going to jump to the punch line and share my preferred method for when you either have an interactive dashboard, or when you know for sure which lines are the “important” lines:</p>
<p>Highlight the few lines that are important and use gray for everything else.</p>
<p>It works when there is little overlap.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10596" src="https://www.datarevelations.com/wp-content/uploads/2023/10/08_Highlight-dashboard-little-overlap.png" alt="Highlighting just two lines works great when the lines don't overlap." width="650" height="450" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/08_Highlight-dashboard-little-overlap-200x138.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/08_Highlight-dashboard-little-overlap-300x208.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/08_Highlight-dashboard-little-overlap-400x277.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/08_Highlight-dashboard-little-overlap-500x346.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/08_Highlight-dashboard-little-overlap-600x415.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/08_Highlight-dashboard-little-overlap.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>And it works when there is a lot of overlap / noise.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10597" src="https://www.datarevelations.com/wp-content/uploads/2023/10/09_Highlight-dashboard-overlap.png" alt="Highlighting just two lines works great when the lines *do* overlap." width="650" height="450" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/09_Highlight-dashboard-overlap-200x138.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/09_Highlight-dashboard-overlap-300x208.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/09_Highlight-dashboard-overlap-400x277.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/09_Highlight-dashboard-overlap-500x346.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/09_Highlight-dashboard-overlap-600x415.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/09_Highlight-dashboard-overlap.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>Indeed, this is the technique I used to turn the hot mess “before” picture into a clear and easy-to-understand “after” picture at the beginning of this article.</p>
<h2>Yes, but what if I need to show all the values for all the categories at the same time?</h2>
<p>If for whatever reason you cannot just focus on a few lines. and need to show all the categories at the same time, a trellis chart (also called a “small multiples” chart) may solve your problem.</p>
<p>Here’s a trellis line chart.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10598" src="https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart.png" alt="Trellis line chart" width="650" height="650" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart-66x66.png 66w, https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart-150x150.png 150w, https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart-200x200.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart-300x300.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart-400x400.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart-500x500.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart-600x600.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/10_TrellisLineChart.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>And here’s a trellis area chart.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10599" src="https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard.png" alt="Trellis area chart." width="650" height="650" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard-66x66.png 66w, https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard-150x150.png 150w, https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard-200x200.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard-300x300.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard-400x400.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard-500x500.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard-600x600.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/11_Trellis-Area-Chart-Dashboard.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>The big drawback with the trellis arrangement is that it’s difficult to make comparisons when things are in different rows or columns.</p>
<p>Consider the example below. While comparing (1) and (2) is reasonably easy, comparing (1) and (3) is difficult as they don’t share a common baseline.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10600" src="https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing.png" alt="Comparisons with a trellis chart can be difficult as there is no common baseline." width="639" height="639" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing-66x66.png 66w, https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing-150x150.png 150w, https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing-200x200.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing-300x300.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing-400x400.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing-500x500.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing-600x600.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/12_Trellis-Area-Chart-Dashboard_Comparing.png 639w" sizes="(max-width: 639px) 100vw, 639px" /></p>
<p>You can get around this by adding some interactivity so that when you highlight a particular point for one segment (e.g., Chairs) it will highlight the applicable point in all segments. Below we compare measures for the month of May across the ten different segments.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10601" src="https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight.png" alt="Trellis chart with on-demand highlighting" width="650" height="650" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight-66x66.png 66w, https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight-150x150.png 150w, https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight-200x200.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight-300x300.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight-400x400.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight-500x500.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight-600x600.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/13_TrellisHighlight.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>But … if you are offering your audience an interactive dashboard, why not just do the line highlighting that we saw earlier?</p>
<h2>One more approach worth considering</h2>
<p>If stacking ten lines is too much, but a full trellis is too distributed, Nick Desbarats suggests trying an intermediate small multiples / trellis chart, like the one shown below.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10621" src="https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard.png" alt="" width="650" height="650" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard-66x66.png 66w, https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard-150x150.png 150w, https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard-200x200.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard-300x300.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard-400x400.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard-500x500.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard-600x600.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/14_Intermediate-Trellis-Dashboard.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<h2>Give it a try</h2>
<p>I’ve embedded a downloadable Tableau workbook at the end of this article that has all of the approaches we’ve discussed here, plus a few more. Use the tabs along the top to explore the different views.</p>
<div id="viz1698362633829" class="tableauPlaceholder" style="position: relative;"><noscript><a href='#'><img alt=' ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Da&#47;DataRevelations_MultiplelinesMultipleCategories&#47;Fivethingsnooverlapwithcolordashboard&#47;1_rss.png' style='border: none' /></a></noscript><object class="tableauViz" style="display: none;" width="300" height="150"><param name="host_url" value="https%3A%2F%2Fpublic.tableau.com%2F" /><param name="embed_code_version" value="3" /><param name="site_root" value="" /><param name="name" value="DataRevelations_MultiplelinesMultipleCategories/Fivethingsnooverlapwithcolordashboard" /><param name="tabs" value="yes" /><param name="toolbar" value="yes" /><param name="static_image" value="https://public.tableau.com/static/images/Da/DataRevelations_MultiplelinesMultipleCategories/Fivethingsnooverlapwithcolordashboard/1.png" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /><param name="display_count" value="yes" /><param name="language" value="en-US" /><param name="filter" value="publish=yes" /></object></div>
<p><script type='text/javascript'>                    var divElement = document.getElementById('viz1698362633829');                    var vizElement = divElement.getElementsByTagName('object')[0];                    if ( divElement.offsetWidth > 800 ) { vizElement.style.width='650px';vizElement.style.height='700px';} else if ( divElement.offsetWidth > 500 ) { vizElement.style.width='650px';vizElement.style.height='700px';} else { vizElement.style.width='100%';vizElement.style.height='750px';}                     var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                </script></p>
<p>The post <a href="https://www.datarevelations.com/how-many-lines-are-too-many-lines/">How many lines are too many?</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/how-many-lines-are-too-many-lines/feed/</wfw:commentRss>
			<slash:comments>51</slash:comments>
		
		
			</item>
		<item>
		<title>More thoughts on visualizing uncertainty in survey data</title>
		<link>https://www.datarevelations.com/more-thoughts-on-visualizing-uncertainty-in-survey-data/</link>
					<comments>https://www.datarevelations.com/more-thoughts-on-visualizing-uncertainty-in-survey-data/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Wed, 04 Oct 2023 21:47:26 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[Visualizing Survey Data]]></category>
		<category><![CDATA[Confidence]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[uncertainty]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=10564</guid>

					<description><![CDATA[<p>I recently participated in a LinkedIn Live discussion about how to visualize uncertainty in survey data with Bob Walker, Anna Foard, and Jon Cohen. I find myself contemplating whether we have a type of moral obligation to try to make sure our audience understands that there may be a big difference between the survey results  [...]</p>
<p>The post <a href="https://www.datarevelations.com/more-thoughts-on-visualizing-uncertainty-in-survey-data/">More thoughts on visualizing uncertainty in survey data</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10565" src="https://www.datarevelations.com/wp-content/uploads/2023/10/Degree-of-precision.png" alt="Three different degrees of precision in displaying survey data" width="1920" height="1080" /></p>
<p>I recently participated in a <a href="https://www.linkedin.com/events/visualizinguncertaintyinsurveyd7112592915549290499/theater/">LinkedIn Live</a> discussion about how to visualize uncertainty in survey data with Bob Walker, Anna Foard, and Jon Cohen. I find myself contemplating whether we have a type of moral obligation to try to make sure our audience understands that there may be a big difference between the survey results we report and the true results.</p>
<p>A question I posed to my colleagues was why show the result as a dot with error bars behind the dot? Why not just show the error bars? The same goes for showing a gradient—are we in fact misleading people to think that the true value is more likely to be in the center?</p>
<div id="attachment_10566" style="width: 803px" class="wp-caption alignnone"><a href="https://www.linkedin.com/events/visualizinguncertaintyinsurveyd7112592915549290499/theater/"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10566" class="size-full wp-image-10566" src="https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot.png" alt="A snapshot of our LinkedIn Live session." width="793" height="399" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-200x101.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-300x151.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-400x201.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-500x252.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-540x272.png 540w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-600x302.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-700x352.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot-768x386.png 768w, https://www.datarevelations.com/wp-content/uploads/2023/10/LILivesnapshot.png 793w" sizes="(max-width: 793px) 100vw, 793px" /></a><p id="caption-attachment-10566" class="wp-caption-text"><em>A snapshot of our LinkedIn Live session.</em></p></div>
<p>We’re not the only people grappling with this question. <em>Financial Times</em> graphics guru John Burn-Murdoch discussed this during his <a href="https://www.outlierconf.com/">Outlier Conference</a> keynote presentation and asserts humans hate uncertainty and may ignore “best practice” techniques to help them see the range of possible outcomes. He then showed other approaches to get people to see and understand uncertainty.</p>
<div id="attachment_10567" style="width: 1887px" class="wp-caption alignnone"><a href="https://youtu.be/tIbaQUo6H9g?si=vtWtbyHcaNoUFuJy&amp;t=615"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10567" class="size-full wp-image-10567" src="https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch.png" alt="John Burn-Murdoch shows different ways 538 has shown confidence intervals." width="1877" height="1042" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-200x111.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-300x167.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-400x222.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-500x278.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-600x333.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-700x389.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-768x426.png 768w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-800x444.png 800w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-1024x568.png 1024w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-1200x666.png 1200w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch-1536x853.png 1536w, https://www.datarevelations.com/wp-content/uploads/2023/10/OutlierJohnMurdoch.png 1877w" sizes="(max-width: 1877px) 100vw, 1877px" /></a><p id="caption-attachment-10567" class="wp-caption-text">John Burn-Murdoch shows different ways 538 has shown confidence intervals.</p></div>
<p>Here’s a <a href="https://youtu.be/tIbaQUo6H9g?si=vtWtbyHcaNoUFuJy&amp;t=615">link</a> to Burn-Murdoch’s presentation, queued to where he starts discussing the challenge. Great stuff.</p>
<p>And here again is a <a href="https://www.linkedin.com/events/visualizinguncertaintyinsurveyd7112592915549290499/theater/">link</a> to a recording of our LinkedIn Live session. Note that our discussion about whether we should just show error bars and not over-emphasize the point in the middle starts at around 29 minutes in.</p>
<p>Finally, in our get-together we had planned to show a survey sample simulator (say <strong>*that*</strong> three times fast!) to show that if you sampled, say, 75 people 100 times, you’d see that the surveyed results are sometimes outside of your expected error bars. You can try it for yourself <a href="https://istats.shinyapps.io/ExploreCoverage/">here</a>.</p>
<div id="attachment_10568" style="width: 1389px" class="wp-caption alignnone"><a href="https://istats.shinyapps.io/ExploreCoverage/"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10568" class="size-full wp-image-10568" src="https://www.datarevelations.com/wp-content/uploads/2023/10/sss.png" alt="Survey Sample Simulator from ArtOfStat.com." width="1379" height="699" srcset="https://www.datarevelations.com/wp-content/uploads/2023/10/sss-200x101.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-300x152.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-400x203.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-500x253.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-600x304.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-700x355.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-768x389.png 768w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-800x406.png 800w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-1024x519.png 1024w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss-1200x608.png 1200w, https://www.datarevelations.com/wp-content/uploads/2023/10/sss.png 1379w" sizes="(max-width: 1379px) 100vw, 1379px" /></a><p id="caption-attachment-10568" class="wp-caption-text"><em>Survey Sample Simulator from ArtOfStat.com.</em></p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.datarevelations.com/more-thoughts-on-visualizing-uncertainty-in-survey-data/">More thoughts on visualizing uncertainty in survey data</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/more-thoughts-on-visualizing-uncertainty-in-survey-data/feed/</wfw:commentRss>
			<slash:comments>43</slash:comments>
		
		
			</item>
		<item>
		<title>Visualizing Uncertainty in Likert Data Over Time</title>
		<link>https://www.datarevelations.com/showing-uncertainty-with-longitudinal-likert-data/</link>
					<comments>https://www.datarevelations.com/showing-uncertainty-with-longitudinal-likert-data/#comments</comments>
		
		<dc:creator><![CDATA[Steve Wexler]]></dc:creator>
		<pubDate>Wed, 13 Sep 2023 20:49:55 +0000</pubDate>
				<category><![CDATA[Business Visualizations]]></category>
		<category><![CDATA[Visualizing Survey Data]]></category>
		<guid isPermaLink="false">https://www.datarevelations.com/?p=10512</guid>

					<description><![CDATA[<p>Helping your stakeholders see and understand margin of error in survey data. A deep thanks to Anna Foard and Jonathan Drummey for their assistance, Ben Jones for the foundational work behind for my initial explorations, and Ryan Corser for asking me to look into this. Update: an earlier version of this post was titled "Visualizing  [...]</p>
<p>The post <a href="https://www.datarevelations.com/showing-uncertainty-with-longitudinal-likert-data/">Visualizing Uncertainty in Likert Data Over Time</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Helping your stakeholders see and understand margin of error in survey data.</p>
<p><em>A deep thanks to Anna Foard and Jonathan Drummey for their assistance, Ben Jones for the foundational work behind for my initial explorations, and Ryan Corser for asking me to look into this.</em></p>
<p><em>Update: an earlier version of this post was titled &#8220;Visualizing Uncertainty in Longitudinal Survey Data.&#8221; <a href="https://www.safllc.com/">Robert Walker of Surveys &amp; Forecasts LLC</a> points out that a longitudinal study asks the same questions <strong>to the same people over time</strong>. In my example we survey different people. </em></p>
<h2>Background</h2>
<p>I offer an <a href="https://www.datarevelations.com/visualizing-survey/">on-demand course about visualizing survey data with Tableau</a> and a perk that comes with the course is that I conduct monthly “what’s on your mind” sessions.</p>
<p>Last month Ryan Corser asked me to explore showing confidence intervals / margin-of-error around longitudinal data. <strong>That is, he wanted his stakeholders to be able to see just what plus-or-minus X points looks like with respect to Likert responses over time.</strong></p>
<p>I get it. I’ve seen too many clients brush off how unreliable survey results are when you don’t have enough responses. Maybe some visual ammunition will help get across why “n=24” when you are surveying a large population is probably not good enough to make a business decision.</p>
<p>For this example, I look at the percentage of people who either strongly or moderately agree with various statements using a 7-point Likert scale (percent top two boxes).  You can find the data set <a href="https://www.kaggle.com/datasets/annettecatherinepaul/likert-survey-for-job-satisfaction-psc">here</a>. Note that I broke the responses up into four different years to show changes over time. The original data set did not have a date field.</p>
<h2>Leveraging existing work</h2>
<p>I first delved into <a href="https://www.datarevelations.com/showing-now-versus-then/">showing statistical significance / confidence in 2015</a> when a client asked me to have a visual designator indicating whether an increase or decrease from a previous period was “statistically significant.” They wanted to be able to say “The percentage of people who agree went from 40% to 48%, and we can say with 95% confidence that there was in fact an increase.”</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10515" src="https://www.datarevelations.com/wp-content/uploads/2023/09/01_NowThenBlog_2015.png" alt="Bar chart with reference line to compare this period with a previous period" width="580" height="255" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/01_NowThenBlog_2015-200x88.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/01_NowThenBlog_2015-300x132.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/09/01_NowThenBlog_2015-400x176.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/01_NowThenBlog_2015-500x220.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/01_NowThenBlog_2015.png 580w" sizes="(max-width: 580px) 100vw, 580px" /></p>
<p>Great. The dot means the change is, for lack of a better term, noteworthy.</p>
<p>But wouldn’t it be great if we could easily see <em>why</em> there’s a dot?</p>
<h2>Showing error bars / confidence intervals</h2>
<p>This desire to show people just how shaky their survey results might be led to explorations of <a href="https://www.datarevelations.com/showing-uncertainty/">how to show error bars / confidence intervals in Tableau</a>.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10517" src="https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504.png" alt="Dots show survey responses. GANNT lines show error bars to convey margin or error." width="720" height="395" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504-200x110.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504-300x165.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504-400x219.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504-500x274.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504-600x329.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504-700x384.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/09/02_Single-Punch-Question-Margin-of-Error-Example-95-e1535214400504.png 720w" sizes="(max-width: 720px) 100vw, 720px" /></p>
<p>Given the overlap of the error bars in the example above (the lines going through the dots) one cannot assert with confidence that there’s a substantive difference between survey responses from men versus those from women.</p>
<p>This in turn led to forays into <a href="https://www.datarevelations.com/marginoferror/">visualizing how the number of responses directly impacts the confidence interval</a>.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10518" src="https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error.png" alt="Dots with error bars. Bars and dots are sized to show number of survey responses." width="804" height="555" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-200x138.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-300x207.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-400x276.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-500x345.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-600x414.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-700x483.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-768x530.png 768w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error-800x552.png 800w, https://www.datarevelations.com/wp-content/uploads/2023/09/03a_Percent-Top-_-Bottom-2-Boxes-margin-of-error.png 804w" sizes="(max-width: 804px) 100vw, 804px" /></p>
<p>Armed with these step-by-step blog posts, let’s see how we can tackle showing the margin of error associated with Likert-scale longitudinal data.</p>
<h2>Computing Top 2 Boxes</h2>
<p>I copied and pasted a lot of calculated fields from the dashboards embedded in the two blog posts I cited. Not all of these fields worked “as is.” For example, the Percent Top 2 Boxes from the first example was computed like this:</p>
<pre style="padding-left: 40px;">SUM(

    IF [Value]&gt;=4 THEN 1 ELSE 0 END

    )

/ SUM([Number of Records])</pre>
<p>This translates as “If the response was a 4 or a 5, count it, then divide by everyone who answered the question.”</p>
<p>In our example, the questions use a 7-point Likert scale, where the “strongly agree” and “agree” were 1 and 2, respectively. I altered the calculation as follows.</p>
<pre style="padding-left: 40px;">SUM(IF [Values]&lt;=2 then 1 ELSE 0 END)/COUNT([Data])</pre>
<p>This translates as “If the response was a 1 or a 2, count it, then divide by everyone who answered the question” where COUNT([Data]) provides the same functionality as SUM([Number of Records]).</p>
<p>If you&#8217;re curious as to why I didn’t just create a field called [Number of Records] it’s because I used Tableau Relationship feature and didn’t do any data prep. <a href="https://www.datarevelations.com/why-doesnt-this-survey-data-stuff-work/">See this blog post for a discussion</a>.</p>
<h2>Iterate, Iterate, Iterate</h2>
<p>Here’s a quick walk-through of some of my visualization attempts.</p>
<p>I started by emulating the dots with error bars approach.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10520" src="https://www.datarevelations.com/wp-content/uploads/2023/09/04_WideErrorBars.png" alt="Longitudinal data with error bars and dots. The error bars are very wide for 2022." width="528" height="584" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/04_WideErrorBars-200x221.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/04_WideErrorBars-271x300.png 271w, https://www.datarevelations.com/wp-content/uploads/2023/09/04_WideErrorBars-400x442.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/04_WideErrorBars-500x553.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/04_WideErrorBars.png 528w" sizes="(max-width: 528px) 100vw, 528px" /></p>
<p>Note that the Confidence is set for 90% (P=.10). Don’t worry, the embedded dashboards at the end of this article allow you to set the Confidence to 80%, 90%, 95%, and 99%.</p>
<p>Yes, the margin of error for 2020 and especially 2022 are very wide (+/- 8 points for 2022). This is because there are considerably fewer responses for those years than for 2019 and 2021.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10521" src="https://www.datarevelations.com/wp-content/uploads/2023/09/05_ReponseCount.png" alt="Response count chart showing responses for 2019 through 2022" width="231" height="171" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/05_ReponseCount-200x148.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/05_ReponseCount.png 231w" sizes="(max-width: 231px) 100vw, 231px" /></p>
<p>By the way, if you change the Confidence level to 99%, the margin of error for 2022 is +/- 13 points.</p>
<p>But I digress.</p>
<p>I then thought that since we’ve got longitudinal data, we should use lines instead of dots and came up with this.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10522" src="https://www.datarevelations.com/wp-content/uploads/2023/09/06_DottedLines.png" alt="Showing reported percentages as a solid line and top range / bottom range with dotted lines." width="526" height="581" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/06_DottedLines-200x221.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/06_DottedLines-272x300.png 272w, https://www.datarevelations.com/wp-content/uploads/2023/09/06_DottedLines-400x442.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/06_DottedLines-500x552.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/06_DottedLines.png 526w" sizes="(max-width: 526px) 100vw, 526px" /></p>
<p>The same calculations I use to get the top and bottom ranges for the error bars drives the dotted lines.</p>
<p>I like the dotted lines a lot but decided that I would rather shade the regions between the dotted lines to better show the range of possible values.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10523" src="https://www.datarevelations.com/wp-content/uploads/2023/09/07_Shaded.png" alt="Line chart showing reported percentages and shaded area showing margin of error." width="530" height="614" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/07_Shaded-200x232.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/07_Shaded-259x300.png 259w, https://www.datarevelations.com/wp-content/uploads/2023/09/07_Shaded-400x463.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/07_Shaded-500x579.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/07_Shaded.png 530w" sizes="(max-width: 530px) 100vw, 530px" /></p>
<p>If you’re curious as to how to shade the region between two lines using Tableau, just perform an internet search. I went with what I thought was the easiest approach: an Area chart where I don’t stack the marks. You’ll find the “don’t stack” option under the “Analysis” menu. Color the bottom area white, the top area gray, and make sure to change the opacity to 100%.</p>
<p>Done.</p>
<p>So… what now?</p>
<h2>What Assertions Can We Make?</h2>
<p>Just what do we do with this lovely chart showing the responses with the error range shaded?</p>
<p>I find myself thinking about the things my clients would want to report. Something like “in 2019, X percent indicated that they agree or strongly agree that fluffernutters are delicious. In 2022 that percentage increased to Y percent.”</p>
<p>With that in mind, let’s just focus on the first year and the last year.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10524" src="https://www.datarevelations.com/wp-content/uploads/2023/09/08_Just-two-years-Confidence.png" alt="Same visualization as before, but just focusing in 2019 and 2022." width="699" height="610" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/08_Just-two-years-Confidence-200x175.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/08_Just-two-years-Confidence-300x262.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/09/08_Just-two-years-Confidence-400x349.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/08_Just-two-years-Confidence-500x436.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/08_Just-two-years-Confidence-600x524.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/09/08_Just-two-years-Confidence.png 699w" sizes="(max-width: 699px) 100vw, 699px" /></p>
<p>Can you say, with confidence, that for the second question (I feel that my agency on the whole is well managed) that there was an increase from 2019 to 2022? That is, that there is no overlap between the range of responses for 2019 and 2022?</p>
<p>Here’s another view where we use reference bands to see if the lowest possible value for 2019 might be greater than the highest value for 2022, and that the lowest for 2022 might be greater than the highest for 2019.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10525" src="https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps.png" alt="Showing two sets of error bands so you can see if there is any overlap." width="737" height="671" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps-200x182.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps-300x273.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps-400x364.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps-500x455.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps-600x546.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps-700x637.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/09/09_GapsNoGaps.png 737w" sizes="(max-width: 737px) 100vw, 737px" /></p>
<p>So, for the second and third questions you can assert, for 90% of samples, the resulting confidence intervals would imply the true values for 2019 are smaller than the true values for the second and third questions for 2022, although the gap for the second question is small. You should not make this assertion with the first and fourth questions as there is overlap with the margin of error bands.</p>
<p>Incidentally, if you increase the Confidence level to 95% the only thing you can assert is that there was an increase from 2019 and 2022 for the third question.</p>
<p>So, with the Confidence level set to 90%, we can see there are gaps for the second and third questions. Wouldn’t it be nice if we could just have a dot letting our audience know when the changes are “significant” and when they are not, rather than having bands and asking them to look for gaps?</p>
<p>And wouldn’t it be great if we could just leverage the work from the first blog post and use already-figured-out calculations for displaying a dot when the change between two periods is significant?</p>
<h2>Steve Learns About Directional and Non-Directional Hypothesis</h2>
<p>And that’s exactly what I did, and I got this confusing result.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10526" src="https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot.png" alt="Using dots to show statistical signifance." width="749" height="674" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot-200x180.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot-300x270.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot-400x360.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot-500x450.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot-600x540.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot-700x630.png 700w, https://www.datarevelations.com/wp-content/uploads/2023/09/10_WhyIs-ThereaDot.png 749w" sizes="(max-width: 749px) 100vw, 749px" /></p>
<p>There’s no gap for the first question, so why does my calculation indicate that the change between 2019 and 2022 is statistically significant, using the tried and true z-test calculation <a href="https://www.datarevelations.com/showing-now-versus-then/">I wrote about back in 2015</a>?</p>
<p>My head-scratching led to two calls for help, the first one being to <a href="https://thestatsninja.com/">Anna Foard</a>. Anna explained the difference between a directional and non-directional hypothesis which eventually led me to this <a href="https://www.analyticsvidhya.com/blog/2020/06/statistics-analytics-hypothesis-testing-z-test-t-test/">wonderful blog post from Analytics Vidhya</a>.</p>
<p>With the error bars and error bands, the assumption that there is a degree of fuzziness for 2019 and fuzziness for 2022.</p>
<p>With my test for statistical significance dot, the assumption is that the results for 2019 are pin-point accurate but there is fuzziness for the 2022 values.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10528" src="https://www.datarevelations.com/wp-content/uploads/2023/09/11_ComparingDirectional-and-NonDirectional.png" alt="Comparing the two approaches showing how the reported result is outside the error bands using directional hypothesis but because the reported percentage is fuzzy in the non-directional approach, there is overlap." width="730" height="370" /></p>
<p>Now I can see why we have that extra dot for the first example. There’s nothing “wrong” with it; it’s just performing a directional vs. non-directional test.</p>
<p>But this got me thinking about how to create a calculation that looks for overlap in the fuzzy values for 2019 and the fuzzy values for 2022.</p>
<h2>Making a Different Dot</h2>
<p>I’ll confess that I struggled with this as some decisions I made early in the process forced me into having to craft a table calculation.</p>
<p>This led to my second call, this time to <a href="https://www.youtube.com/@ActionAnalytics/videos">Jonathan Drummey</a>. Jonathan conducted a clinic on how to assess the data and what capabilities we might want. For example, we discussed whether we would want to have the ability to show differences for more than two periods; that is, looking at multiple periods and not just the starting and ending period.</p>
<p>For the sake of simplicity, I elected to just look at the starting and ending periods. My apologies in advance that all the calcs are hard coded to look at 2019 and 2022.</p>
<p>Here’s the pseudocode for what we need to determine.</p>
<pre style="padding-left: 40px;">If the upper limit for Top 2 Boxes % for 2019 is greater than or equal to the lower limit of the Top 2 Boxes % for 2022

OR

If the lower limit for the Top 2 Boxes for 2019 is greater than or equal to the upper limit of the Top 2 Boxes % for 2022 then there is an overlap so don’t display a dot; otherwise, display a dot.</pre>
<p>This appears simple enough. Why not just have a calculation like this one?</p>
<pre style="padding-left: 40px;">IF MAX(YEAR([Date]))=2019 THEN [Top 2_Lower limit] END</pre>
<p>The problem is that our visualization needs to break things up into different years and that the calculation for 2019 is only available for 2019. When I’m in the 2022 column, Tableau can’t “see” what the value was for 2019, it just knows what the value is for 2022.</p>
<p>Here’s a snippet of the worksheet I crafted with Jonathan to see how the fields all work together.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10529" src="https://www.datarevelations.com/wp-content/uploads/2023/09/12_Workoutsheet.png" alt="Worksheet showing various calculations that help understand the underlying data." width="633" height="519" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/12_Workoutsheet-200x164.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/12_Workoutsheet-300x246.png 300w, https://www.datarevelations.com/wp-content/uploads/2023/09/12_Workoutsheet-400x328.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/12_Workoutsheet-500x410.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/12_Workoutsheet-600x492.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/09/12_Workoutsheet.png 633w" sizes="(max-width: 633px) 100vw, 633px" /></p>
<p>In (1) we can see the lower limits for 2019 and 2022. In (2) and (3) I have separate calculations for 2019 and 2022 but because they render nulls and aren’t present across both columns, we can’t perform calculations on them.</p>
<p>But notice the values for (4) and (5) and how they render the same results for both columns.</p>
<p>Ah, now we’re talking!</p>
<p>Just how did we get that?</p>
<p>I had started to look into LOOKUP() and PREVIOUS_VALUE() calcs (and if I ever plan to compare more than two periods I’ll look into this again). Jonathan suggested something far simpler to pad the values across both columns and ensure that the lower limit for 2019 is present in both the 2019 and 2022 columns.</p>
<pre style="padding-left: 40px;">WINDOW_MAX(IF MAX(YEAR([Date]))=2019 then [Top 2_Lower limit] END)</pre>
<p>By computing this by [Date] it makes Tableau apply the calculation across all columns.</p>
<p>We fashioned three additional table calculations and then combined them into this calculation for Non-direct dot.</p>
<pre style="padding-left: 40px;">IF [2019 Top 2 Boxes %  Upper Limit Padded]&gt;=[2022 Top 2 Boxes %  Lower Limit Padded]

OR

[2019 Top 2 Boxes %  Lower Limit Padded]&gt;=[2022 Top 2 Boxes %  Upper Limit Padded]

THEN "" else "⬤"

END</pre>
<p>Here’s a view that has a dot for both the directional and non-directional approaches. You’ll also find an interactive version of this at the end of the blog post.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-10530" src="https://www.datarevelations.com/wp-content/uploads/2023/09/13_whole-thing.png" alt="Completed dashboard showing trend lines, error regions, and both statistical significance dots." width="650" height="687" srcset="https://www.datarevelations.com/wp-content/uploads/2023/09/13_whole-thing-200x211.png 200w, https://www.datarevelations.com/wp-content/uploads/2023/09/13_whole-thing-284x300.png 284w, https://www.datarevelations.com/wp-content/uploads/2023/09/13_whole-thing-400x423.png 400w, https://www.datarevelations.com/wp-content/uploads/2023/09/13_whole-thing-500x528.png 500w, https://www.datarevelations.com/wp-content/uploads/2023/09/13_whole-thing-600x634.png 600w, https://www.datarevelations.com/wp-content/uploads/2023/09/13_whole-thing.png 650w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>Important: I don’t think I would subject my stakeholders to two different dots. Decide which approach is most appropriate and just show one dot.</p>
<h2>Conclusion</h2>
<p>The main purpose of data visualization is to help people better see – and understand – their data. My hope is that with this article you have more tools to help people see when they can, and when they should not, make assertions about longitudinal survey results.</p>
<p>Here’s the embedded workbook with various dashboards. Feel free to tinker and download.</p>
<div id="viz1694640437348" class="tableauPlaceholder" style="position: relative;"><noscript><a href='#'><img alt=' ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Da&#47;DataRevelations_LikertLongitudinal&#47;Comparingdirectionalandnon-directionalapproachestoshowingconfidenceintervalsMoE&#47;1_rss.png' style='border: none' /></a></noscript><object class="tableauViz" style="display: none;" width="300" height="150"><param name="host_url" value="https%3A%2F%2Fpublic.tableau.com%2F" /><param name="embed_code_version" value="3" /><param name="site_root" value="" /><param name="name" value="DataRevelations_LikertLongitudinal/Comparingdirectionalandnon-directionalapproachestoshowingconfidenceintervalsMoE" /><param name="tabs" value="yes" /><param name="toolbar" value="yes" /><param name="static_image" value="https://public.tableau.com/static/images/Da/DataRevelations_LikertLongitudinal/Comparingdirectionalandnon-directionalapproachestoshowingconfidenceintervalsMoE/1.png" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /><param name="display_count" value="yes" /><param name="language" value="en-US" /><param name="filter" value="publish=yes" /></object></div>
<p><script type='text/javascript'>                    var divElement = document.getElementById('viz1694640437348');                    var vizElement = divElement.getElementsByTagName('object')[0];                    if ( divElement.offsetWidth > 800 ) { vizElement.style.width='750px';vizElement.style.height='850px';} else if ( divElement.offsetWidth > 500 ) { vizElement.style.width='750px';vizElement.style.height='850px';} else { vizElement.style.width='100%';vizElement.style.height='1050px';}                     var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                </script></p>
<p>The post <a href="https://www.datarevelations.com/showing-uncertainty-with-longitudinal-likert-data/">Visualizing Uncertainty in Likert Data Over Time</a> appeared first on <a href="https://www.datarevelations.com">Data Revelations</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datarevelations.com/showing-uncertainty-with-longitudinal-likert-data/feed/</wfw:commentRss>
			<slash:comments>50</slash:comments>
		
		
			</item>
	</channel>
</rss>
