liveBook · Manning

Sparsity

As explained in Everyday Data Visualization

Sparse data is data containing relatively few observations or values compared with the possible observations or values being considered.

Sparse data contains relatively few observations compared with the possible values being considered. In a visualization, those absences are part of the story—not clutter to quietly sweep under the rug. section 9.1.1

Make sparse data readable and honest:

  • Show missing points explicitly. Add dots to line charts so viewers can see both the observations and the gaps. section 9.1.1
  • Break a line where data is missing instead of implying an uninterrupted trend. section 9.1.1
  • Leave empty positions for missing days, weeks, or months in trended bar charts. section 9.1.1
  • When data is very sparse, design for its eventual growth: check the visualization periodically and test it with realistic data. section 9.1.1 section 9.5

A daily trend with missing days

A plain line can make a sparse daily series look continuous. Add a dot at every recorded day, break the line across missing days, and leave empty positions for missing days in a bar-chart version. section 9.1.1

Figure 9.1 When trending data in a line chart, I like to make it more obvious where the data points are by adding a dot at each point. Not only is it easier to understand, but it’s also more apparent when there’s data missing. Breaking the line on missing data points further drives the point home.
09-01

Compare a connected line with point markers and breaks to see how the design makes missing observations visible. section 9.1.1

The goal is not to make an imperfect dataset look complete. It is to prevent viewers from drawing conclusions that the available evidence cannot support. section 9.1.1 section 9.5

How Everyday Data Visualization covers it

How deep it goes
Explains markers, line breaks, empty bar positions, and future-proofing, without entering statistical imputation.
Examples
Uses daily trend charts, point markers, broken lines, and empty positions for missing periods.
What you can do after
Diagnose sparse visualizations and expose missing observations without implying unsupported continuity.
How it connects
Connects sparse data with missing data, line charts, bar charts, trending data, and future-proofing.

Also explained in

Compare how 4 books explain sparsity →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Everyday Data Visualization. The section links point to the parts of the book it draws on.