Vertical bars – when you want to emphasize individual values or compare categories of values, rather than the overall pattern
Points only – when values were collected at irregular intervals of time or there is little short term up and down fluctuation in the values
Lines (or Points with lines) – when you want to emphasize the pattern of change through time
Vertical box plots (or violin plots) – when you want to display how a distribution changes through time
Bars — Effective for emphasizing individual values
Bars — not effective for emphasizing overall trend
Stacked bars — useful to show subcategories
…and when the sum of subcategories is meaningful for your quantitative message
Discrete Points in Time
Discrete Points — not effective to emphasize trend
Connect the dots for continuous data
Makes the flow of time visible
Caveat: Implies continuous data collected at regular intervals… Do not connect if missing data
Connected vs. non-connected dots
An alternative — Step Chart
Step Chart
Boxes and dots over time
Time series dot plot (Tableau exercise)
Fitting, Smoothing, and Trendiness
When you have a lot of data, or the data is noisy, it can be hard to spot trends and patterns.
Trendlines make it easier to spot trends.
Linear models (e.g., y=mx + b)
Polynomial models (e.g., y=mx^2 + nx + b)
Logarithmic
Exponential
Moving Averages
LOESS curves or Local Polynomial Regression (orginally LOWESS, Locally Weighted Scatterplot Smoother)
Linear trend lines
LOESS Curves
Be careful about overfitting
Rankings
Ranking quantitative message
A graph displays ranking relationship when it displays how a set of quantitative values relate to each other sequentially, sorted in ascending or descending order.
Ranking Design Basics
Use one axis for categorical items and use the other axis for a quantitative scale.
Bars are almost always preferred
Except when the quantitative scale doesn’t begin at zero, then use points.
Sorting is key to effectively communicate a ranking.
Sort descending if highlighting the highest values
A graph displays part-to-whole relationships when it features how individual values that make up the whole of something (e.g., total sales) compare to each other and the whole.
Individual values in a part-to-whole relationship will be expressed as ratios, either percentages that sum to 100% or rates that sum to 1.