Once the message is clear, the next task is to pick the visual that shows it best and to strip away everything that distracts.

Choose the Chart for the Task

Ask what the audience should see.

  1. Comparison between categories: bar or column chart; sort the bars and start at zero.
  2. Trend over time: line chart.
  3. Part of a whole: stacked bar, or a pie or donut only for two to four parts.
  4. Relationship between two numbers: scatter plot.
  5. Distribution: histogram or box plot.
  6. Location: map.
  7. Few exact numbers: a simple table, or just the number written large.

Avoid 3D effects, dual axes that confuse and pie charts with many slices.

Clutter and Cognitive Load

Clutter is any element that takes up mental effort without adding information: heavy borders, gridlines, redundant labels, decorative backgrounds, a legend that needs lookup. The viewer has limited attention, the cognitive load, and clutter wastes it. Gestalt principles of proximity, similarity, enclosure and alignment, covered in Unit IV, explain why a messy layout looks cluttered.

Declutter Steps

Remove the chart border and background; remove or lighten gridlines; remove the data markers unless needed; clean the axes by reducing tick labels; label the data directly instead of through a legend; use a consistent, limited colour set. Each removal raises the data-ink ratio, the share of ink that shows data, which Tufte wanted to be as high as practical.

Focus Attention

After decluttering, guide the eye. Use pre-attentive attributes such as colour, bold and size sparingly: show everything in grey and the one important series in a strong colour, or highlight one bar. Add a short annotation. If everything is highlighted, nothing is.

Definition: Clutter. Any visual element that adds to the mental effort needed to read a chart without adding information, such as heavy gridlines, borders, redundant labels or decoration.

Table 3.2: Chart choice by task

Task Chart Avoid Tip
Compare categories Bar, column 3D bars Sort and start at zero
Show a trend Line Pie Label the end point
Show parts of a whole Stacked bar, donut Pie with many slices Few parts only
Show a relationship Scatter Table Add a trend line
Show a distribution Histogram Averages only Choose bin width with care

Example 3.2: Improving the data-ink ratio

Problem: A chart uses 100 units of ink, of which 60 units show data. After removing the border, background and heavy gridlines (25 units that carry no data), what is the data-ink ratio before and after?

Solution:

  1. Before: data-ink ratio = 60 / 100 = 0.60.
  2. After removing 25 units of non-data ink, the total is 100 − 25 = 75 units while the data ink is still 60.
  3. After: ratio = 60 / 75 = 0.80.
  4. The data now take a larger share of the ink, so the message is easier to see.

Result: The data-ink ratio rises from 0.60 to 0.80.

def data_ink_ratio(data_ink, total_ink):
    return data_ink / total_ink
before = data_ink_ratio(60, 100)
after = data_ink_ratio(60, 100 - 25)
print("before:", before, " after:", round(after, 2))
def chart_for(task):
    return {"compare": "bar chart", "trend": "line chart",
            "relationship": "scatter plot",
            "distribution": "histogram",
            "location": "map"}.get(task, "table")
for t in ("compare", "trend", "exact"):
    print(t, "->", chart_for(t))

Output

before: 0.6  after: 0.8
compare -> bar chart
trend -> line chart
exact -> table

Common mistakes

  • Using a pie chart with many slices or a 3D chart.
  • Keeping default gridlines, borders and legends on every chart.
  • Colouring every series brightly so nothing stands out.
  • Choosing a visual before knowing the message.

Key takeaways

  • Compare: bar. Trend: line. Relationship: scatter. Distribution: histogram.
  • Remove clutter to raise the data-ink ratio.
  • Label directly and use colour to focus attention.
  • Everything highlighted means nothing is highlighted.

Practice questions

  1. Which chart shows a trend over time?
  2. What is clutter?
  3. How do you focus attention on one series?

Answers to the practice questions

  1. A line chart.
  2. Visual elements that add effort to reading without adding information.
  3. Grey the others and show the key series in a strong colour.

Sources

  • Official BCA syllabus Data Visualization, course code 26BCA404DSE11, Unit III