Guide to Data Visualization – Part 2

data visualization

In the previous post, we saw how tables can be designed by following proper data visualization guidelines. In this post, we will look at graphs.

Graphs are pretty much everywhere these days, from stock market data presentations to marketing and HR presentations. I came to realize, after working a lot with Tableau over the years that designing a beautiful dashboard is not everyone’s cup of tea and it is an art by itself.

If you are a Tableau lover and enjoy designing dashboards, you should check MakeoverMonday!

Graphs are normally used to display relationships among and between sets of quantitative values by giving them shape. Patterns revealed by graphs enable users to detect trends, similarities, differences and anomalies from a collection of data points. Large sets of data can be easily perceived and understood, something that is not possible in Tables. Quantitative values can be represented in graphs using any of the following:

  1. Points
  2. Lines
  3. Bars
  4. Boxes
  5. Shapes with Varying 2-D areas
  6. Shapes with Varying colour Intensity like Heat Maps

Let’s look at the above in detail in a tabular form for easy grasping;



COMPONENT


PRACTICES
PointsWhen sets of points cannot be clearly distinguished, correct by:
1. Enlarging the points
2. Selecting objects that are more visually distinct

When points overlap such that some are obscured, correct by:
1. Enlarging the graph, reducing the points’ size
2. Removing the fill colours.
BarsUse horizontal bars when their categorical label bars won’t fit side by side. Never use horizontal bars for time-series values.
Proximity:
1. Set the width of white space separating bars that are labelled along the axis equal to the width of the bars, plus or minus 50%.
2. Do not include white space between bars that are differentiated by a legend.
3. Do not overlap bars.

Fills:
1. Avoid the use of fill patterns (horizontal, vertical OR diagonal lines).
2. Use fill colours that are clearly distinct.
3. Use fill colours that are more intense than others to highlight particular values.
4. Use fill colours that are fairly balanced in intensity for data sets that are equal in importance.

Only place borders around bars when one of the two following conditions exists:

1. The fill colour of the bars is not distinct against its background, in which case you can use a subtle border (example: grey)
2. You wish to highlight one or more bars compared to the rest.

Always start bars at a baseline of Zero.
Lines1. Distinguish lines using different hues whenever possible.

2. Include points on lines only when values for the same point in time on different lines must be precisely compared.
Boxes1. Follow the principles for bar design, except when box plots are connected with a line to show change through time, which might require a greater distance between boxes.
Combinations1. Use boxes and lines for distributions through time.

2. Use bars and lines in the form of Pareto charts for featuring the contribution of the largest portions of the whole.

3. Use bars and points for uncluttered comparisons.
Trend Lines1. In most cases, use moving averages rather than straight lines of best fit to show the overall nature of change through time. Only use linear trend lines (straight lines of best fit) in a scatter plot when the shape of the data is linear rather than curved.
Reference Lines1. Use reference lines to mark meaningful thresholds and regions, especially for measures of the norm.
Annotations1. Use text to feature and comment on values directly when doing so is important to the story.
Log Scales1. Use log scales to reduce the visual difference between quantitative datasets with significantly different values so they can be clearly displayed together.

2. Use log scales to compare differences in values as percentages.
Tick Marks1. Mute tick marks in comparison to the data objects.

2. Use tick marks with quantitative scales but not with categorical scales, except in line graphs when slightly more precision is needed.

3. Aim for a balance between including so many tick marks that the scale looks cluttered and using so few that your readers have difficulty determining the values of data objects that fall between them.

4. Avoid using tick marks to denote values at odd intervals.
Figure 1

The table above shows the ideal do’s and dont’s for each component. It can be referenced when one designs a graph.

Graphs also are normally used to display relationships between dimensions and measures. Essentially, there are 8 types of relationships that we typically use graphs;

  1. Time Series
  2. Ranking
  3. Part-to-Whole
  4. Deviation
  5. Distribution
  6. Correlation
  7. Geospatial
  8. Nominal Comparison
Relationship Points Lines Bars Boxes
Nominal ComparisonIn the form of a dot plot when you can’t use bars because the quant scale does not begin at zero.AvoidHorizontal or VerticalAvoid
Time Series In the form of a dot plot, but only when values were not collected at consistent intervals of time.Emphasis on overall pattern, categorical items on X-axis and Quantitative values on Y-axisEmphasis on individual values, categorical items on X-axis and Quantitative values on Y-axisOnly when showing distribution as they change through time, categorical items on X-axis, quant on the y-axis
RankingIn the form of a dot plot, especially when you can’t use bars because the quant scale does not begin at zero.AvoidHorizontal or verticalOnly when ranking multiple distributions, horizontal or vertical.
Part-to-whole AvoidTo display how parts of a whole have changed through timeHorizontal or verticalAvoid
DeviationAs a dot plot when the quant scale does not begin at zero.Useful when combined with a time seriesHorizontal or vertical, but always vertical when combined with time series.
Avoid



Single DistributionKnown as a strip plot. Emphasis on individual values.Known as a frequency polygon. Emphasis on the overall pattern.Known as a histogram. Emphasis on individual intervals.Avoid
Multiple DistributionKnown as a strip plot. Emphasis on individual values.Known as a frequency polygon. Limit to a few lines.AvoidKnown as a box plot.
CorrelationKnown as a scatter plot.AvoidHorizontal or vertical, in the form of a table lensAvoid
GeospatialVary point sizes to encode valuesTo mark routesAvoidAvoid
Figure 2

Once again, the above table can be referenced while designing graphs on a dashboard. Apart from relationships and representations, two fundamental principles of quantitative information apply exclusively to graphs;

  • Maintain Visual correspondence to quantity.
  • Avoid 3D.
data visualization
Figure 3 – Taken from Show me the Numbers Book

If you notice properly, the graph on the left has been deliberately manipulated to make an increase in sales from $19,500,000 in July to $19,560,000 in December, which is an increase of less than one-third of 1%, looks like an increase of more than 200%. The graph on the right more accurately presents the data.  So, what was exaggerated on the left graph? 

  • The scale on the y-axis does not start at zero, thus making minor changes in sales appear extreme. 
  • The plot area of the graph is taller than it is wide. This dramatically increases the slope of the line. 
  • The line is green, which usually means positive impact, and thus misleading 
  • Placing the boldfaced axis label millions in the upper left position near the title “Sales are skyrocketing” suggests that they are increasing by millions.

A quantity that is visually encoded in a graph should match the actual quantity that it represents.

Two specific design practices will help you honour this correspondence: 

  • Make the distance between tick marks on a scale line correspond to the differences in the values that they represent. 
  • Generally, include the value zero in your quantitative scale, and alert your readers when you don’t unless you are confident that they won’t be misled. 

The other fundamental principle that applies exclusively to graphs is Avoiding 3D;

Simply put – 3D renderings of quantitative information rarely work. Don’t sacrifice effective communication using 3D fluff. There are better ways to show more information than by 3D and one is to use multiple related graphs in a series.

General Guidelines and Reference:

Following are some general guidelines and steps that one can follow to build and decide on the right design for an effective dashboard;

  1. Should the message be presented in the form of a table or graph? 
  2. If a table, which kind of relationship should it display? 
  • Between a single set of quantitative values and a single set of categorical subdivisions. 
  • Between a single set of quantitative values and the intersection of multiple categories. 
  • Between a single set of quantitative values and the intersection of hierarchical categories. 
  • Among a single set of quantitative values associated with multiple categorical subdivisions. 
  • Among multiple sets of quantitative values associated with the same categorical subdivisions. 
  1. If a graph, which kind of relationship should it display? 
  • Nominal comparison 
  • Time-series 
  • Ranking 
  • Part-to-whole 
  • Deviation 
  • Distribution 
  • Correlation 
  • Geospatial

4. If a graph, which object or combination of objects for encoding the quantitative values would work best? 

  • Points
  • Lines 
  • Bars 
  • Boxes 

General Practices of Communication-Oriented design:

In general, I have noticed that perfectly designed dashboards follow certain design patterns that makes the dashboard stand out. In particular, it can be classified under;

Highlight:

  1. Reduce the non-data ink.
  • Subtract unnecessary non-data ink.
  • De-emphasize and regularize the remaining non-data ink.
  1. Enhance the data-ink.
  • Subtract unnecessary data-ink.
  • Emphasize the remaining data-ink.

There are good-to-follow methods to highlight what is important as well and here is a table for the same;

For Quantitatively perceived visual attributes, here is a table that can be referred to while building visually appealing dashboards and visualizations. For example; if you would like to emphasize the size of a quantitative value, you can perhaps go for a bigger table or font if it’s displayed on a table or if its a chart, go for a bigger graph or shape so that it stands out and is easily perceived by the user.

AttributesTables and TextGraphs and Objects
WidthBoldfaced textThicker graph lines Wider bars
SizeBigger tables Larger fontsBigger graphs Bigger symbol shapes
Colour IntensityBrighter, more vivid coloursBrighter, more vivid colours
2-D PositionPositioned at the top, left or centrePositioned at the top, left or centre
Figure 4

A similar set of principles are followed for visual attributes as well;

AttributesTables and textGraphs and Objects
OrientationItalicsData points with an orientation that is different from the norm.
ShapeAny font that is different from the norm.Any symbol shape that is different from the norm.
EnclosureBorder around or shading behind table, rows, columns or Particular values.Border around or shading behind Graph or Particular values.
HueAlmost any hue that is different from the norm.Almost any hue that is different from the norm.
2-D positionAny position that is out of vertical or horizontal alignment with the norm.Any position that is out of vertical or horizontal alignment with the norm.
Figure 5

What we saw above is a gist of what comprises the fundamentals of a good visualization. I hope it was helpful in some way and you end up using these tips and tricks in your future visualizations and dazzle your audience!

Share the Gyan!

Related Posts

This Post Has 234 Comments

  1. אוקראינית לוהטת יושבת לבדה בבית.
    איך בוחרים נערות ליווי בעיר כל
    כך לוהטת? מפגש עם נערות ליווי הוא מפגש
    מאוד נעים עבור הגבר וכדאי לעשות זאת כמה שיותר.

    “תפתחי את הרגליים” הוא פוקד עלי עם הקול הסקסי שלו ואני פותחת.
    בסופו של דבר מה בסך הכול בן אדם צריך אם לא
    בילוי אחד, שעה אחת שיכולה להפוך ולשנות את כל כללי המשחק והכול בזכות נערות ליווי באילת, נשים מדהימות, גבוהות, רזות,
    מלאות, בעלות מראה מושלם ובעיקר מגיעות עם המון
    אהבה, טוטאליות ורצון לקחת אותך
    ולשים אותך במרכז העניינים, ליהנות, להרגיש, לחוש את הדברים והכי חשוב לרצות כמה שיותר
    לקבל ולתת בזמן והמקום שמתאימים.
    כחלק מכך, תיירים רבים, הן ישראלים והן תיירי
    חוץ, מחפשים בילוי בכל שעה ביום המלווה בשירותי ליווי בירושלים
    ונשים שיגשימו את הפנטזיות הרטובות ביותר שלהם.
    מה שאני עושה להם בטלפון לבחורות “רגילות” לוקח שעה להעמיד.
    אך בשביל לבלות בנעימים אתם צריכים הרבה יותר
    מזה ולכן תוכלו למצוא גם פינוקים נוספים המתאימים לבילוי בדירות דיסקרטיות עם נשים מבוגרות.
    העיר החמה, אילת, כמה השמש
    בה יוקדת כך גם הבילויים והנשים המושלמות אותן
    אנו מציגים לכם תחת פורטל שלא מאכזב
    ומספק את התשובה הטובה ביותר לבילוי מדהים המתחיל בשיחה
    טובה, מבט עיניים, עיסוי מושלם וארוטי וכל מה שתבקשו
    מאותן נערות ליווי באילת, הנערות שמוכנות וערוכות לכל
    שירות שרק תבחרו.

    Look into my web blog https://marlenemay.com/regions/Discreet-apartments-in-Ashdod.php

  2. המון עיסויים מגברים לגברים
    בקליניקה בירושלים שפתוחה 24 שעות ביממה כל יום.

    מיהו הגורם המנהל והעומד מול המשכיר
    בקליניקה להשכרה בשרון ? בתוך הליכה של מספר דקות
    בודדות, תמצאו את עצמכם אל מול אחד מאזורי החוף היפהפיים והמרהיבים ביותר באזור.
    מסאז׳ מקצועי בחדרה הטיפולי דומה לזה מרגיע, קלאסי – הוא גם מאיץ את הדם,
    מסלק מלחציים בשרירים, משפר את זרימת הדם ואת זרימת הלימפה.
    רוצים פרטים על דירות דיסקרטיות בחדרה?
    דיסקרטיות זה שם המשחק בעולם הבידור למבוגרים.
    יום ספא הפך לבילוי טרנדי בקרב תושבי מרכז הארץ,
    שם אנו עדים לתופעה של ריכוז בתי ספא מה שמאפשר יכולת בחירה רחבה ממגוון הטיפולים.
    עבור ישראלים רבים, אילת
    היא שם נרדף לנופש, ומהווה את אחד מיעדי התיירות הבולטים
    והאהובים ביותר בתיירות הפנים. העיסוי מגן על העור מהזדקנות, מפנה רעלים מתאי העור,
    מחמם ומשחרר את הגוף. המעסה עובד על השרירים, משחרר
    אזורים תפוסים ומפיג את התשישות.
    חופשה באווירה חמימה ומחדשת, המשלבת בתוכה את כל
    הטוב; טיפול ספא מפנק 30 דקות לכל אחד מבני הזוג וארוחת ערב זוגית.
    כדאי מאוד שלא להיצמד למונחים של יוקרה/טרנדים, אלא פשוט לבחור בעיסוי מפנק בראש העין המתאים לכם ביותר
    בהתאם לצורך הגופני והרגשי שלכם.

    Also visit my web-site :: https://melanieinbkk.com/regions/Discreet-apartments-in-Nes-Ziona.php

  3. המקום שלנו נפתח, מתוך אהבה לניקיון.
    טיפול נפשי צריך להתקיים בתוך מרחב רגוע ושליו, מתוך תפיסה שרק כך
    המטופל יוכל להרגיש את עצמו בסביבה מוגנת, שלווה ושומרת.
    מנעולן במעלה אדומים יוכל
    לעזור לכם במקרים שבהם המפתח נשבר, בין אם מחוץ לדלת ובין אם
    המפתח נשבר בתוך המנעול. מנעולן בירושלים זה סהר המנעולן.
    פורץ מנעולים בירושלים שירות זמין ואמין של מנעולן בעל ותק רב בתחום המנעולנות.
    שירות מצברים עד הבית פועל
    24 שעות ביממה בכל אזור המרכז. אם אתם רוצים לפנק את
    בן או בת הזוג או רוצים לפנק
    את עצמכם בעיסוי עד הבית. לאחר שיחה בינכם לבין המטפל, יתחיל המטפל את העיסוי תוך שהוא
    עובר עם ידיו ולוחץ על השרירים תוך
    כדי עיסוי פנימה אל הרקמה. אתר THJ הוקם על מנת
    לאפשר לאנשים להיחשף אל מידע מהימן
    בתחום התכשיטנות והיהלומים ולבצע קניות
    און ליין של תכשיטים משובצי יהלומים
    ואבנים טובות. חברת מיסטר לקס מייבאת ומייצרת מגוון רחב של תכשיטים מיוחדים לגבר.
    חברת שיא המצבר ר מספקת את שירות
    מצבר עד הבית בזמן המהיר ביותר, תוך
    60 דקות מרגע ההזמנה. עמוד הבית / עיסוי אירוטי בקריית אתא.

    my webpage; https://rubyphuket.com/categors/Discreet-apartments-in-the-north.php

  4. באתר Pickspace תוכלו לחפש בין מאות קליניקות להשכרה בירושלים והסביבה בקלות ובמהירות ולסנן
    תוצאות לפי מחירים, דירוגים, חוות דעת, מיקומים, כמות אנשים,
    שירותים במתחם ועוד.. לדברי קלמן סופרין, בעל קבוצת ‘סופרין’: “אני עובד בירושלים כבר זמן רב, משנות השמונים. כמהנדס היה לי חלק בפרויקטים רבים, אך לפרויקט זה יש מקום מיוחד בלב שלי, שכן זהו הפרויקט הראשון שבו אני לוקח חלק יזמי. אנו מודים למשקיעים שלנו על הבעת האמון בעיר ירושלים בכלל ובמתחם תלפיות בפרט. נראה כי ציבור המשקיעים הבין שבימים של אי ודאות בתחום הנדל”ן למגורים עליו לפנות לאפיקי השקעה
    נוספים, ביניהם נדל”ן מסחרי”.

    זהו השלב שבו הם מביאים לידי יישום את כל החומר הרב שלמדו
    לאורך השנים. אם אתה מחפש אחר עיסוי מקצועי מהרמה הגבוהה
    ביותר שיש, כאן בישראל, זהו המקום הנכון
    בשבילך. מתקני המקום המפוארים הופכים את סנדרין ספא ובוטיק לאחד ממרכזי הספא המפוארים בישראל.
    שירותי ליווי ונערות. עיסוי ארוטי בישראל.
    בישראל מערכת רפואית ציבורית ענפה, הכוללת מספר רחב ביותר של בתי חולים ציבוריים.
    חברת בטר באלאנס מפעילה מספר קליניקות
    בפריסה ארצית הממוקמים במרכזים רפואיים
    ועומדים לרשות המטופלים שישה ימים בשבוע.
    בתום הקליניקות יוצאים הסטודנטים
    כשמאחוריהם טיפול במספר מקרים וצפייה בעוד מספר רב של מקרים –
    מה שמעשיר רבות את הניסיון הקליני ואת הביטחון העצמי שלהם.
    אל קליניקות המתמחים, המתקיימות הן בקמפוסים
    והן בקהילה, מגיעים הסטודנטים בליווי צמוד של המרצים בתום הלימודים.

    My web site – https://miss-sophira.com/regions/Discreet-apartments-in-Bat-Yam.php

  5. safe and effective drugs are available. Learn about the side effects, dosages, and interactions.
    https://finasteridest.com/ can you buy generic propecia without a prescription
    earch our drug database. Some are medicines that help people when doctors prescribe.

  6. Some are medicines that help people when doctors prescribe. Everything about medicine.
    buying clomid
    Comprehensive side effect and adverse reaction information. Actual trends of drug.

  7. Learn about the side effects, dosages, and interactions. Comprehensive side effect and adverse reaction information.
    otc ed pills
    Actual trends of drug. All trends of medicament.

  8. Reading your article helped me a lot and I agree with you. But I still have some doubts, can you clarify for me? I’ll keep an eye out for your answers.

  9. cheap sildenafil from india sildenafil tablets 50mg or buy sildenafil online canada
    http://shutterbum.com/__media__/js/netsoltrademark.php?d=viagrapillsild.online 200mg sildenafil soft gel capsule
    [url=http://partagevehicule.com/__media__/js/netsoltrademark.php?d=viagrapillsild.online]sildenafil 110 mg capsule[/url] lowest price for sildenafil 20 mg and [url=http://83783.net/home.php?mod=space&uid=4800179]ildenafil citrate[/url] pharmacy prices for sildenafil

  10. Read information now. Everything information about medication.
    https://amoxila.store/ order amoxicillin online
    safe and effective drugs are available. drug information and news for professionals and consumers.

  11. Very nice post. I just stumbled upon your blog and wanted to say that I’ve really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon!

  12. I have read your article carefully and I agree with you very much. This has provided a great help for my thesis writing, and I will seriously improve it. However, I don’t know much about a certain place. Can you help me?

Leave a Reply

Your email address will not be published.