Data Processing and Charts
-
Choosing One Observation Per Row
A tabular data set is easier to summarize when the unit represented by each row is clear and fields retain consistent meanings.
-
Wide and Long Table Shapes
A wide shape can keep measurements in separate columns. A long shape can put each selected measurement in a row with a label identifying its kind or time.
-
Converting Units Before Summarizing Measurements
Aggregation assumes comparable values. Convert to a declared common unit while retaining source information when useful.
-
Duplicate Records and Repeated Observations
Two rows can have the same values and still represent separate observations. Deduplication requires a key and a stated reason.
-
Showing Missing Observations in a Plot
A missing observation changes what a plot can claim. A gap, distinct marker, or caption can preserve that meaning.
-
Reading a Frequency Table
A frequency table reports how many observations occupy each category or interval. A relative frequency divides by a stated total.
-
Histogram Bins and Their Boundaries
A histogram groups numeric observations into intervals. State which interval contains a value lying exactly at a shared endpoint.
-
Count and Density on a Histogram Axis
A count histogram places observation counts on its vertical scale. A normalized density uses band width so the displayed bar areas sum to one.
-
Choosing a Bar Chart for Categories
A bar chart can compare values belonging to distinct categories. Its labels and order should express the intended comparison.
-
When a Line Between Observations Has Meaning
Connecting observations suggests a sequence or trend under the chosen x-axis. It can imply a relationship between values in between.
-
Showing Irregular Time Gaps on an Axis
A time axis can map elapsed distance between timestamps proportionally, preserving long and short gaps.
-
Reading a Scatter Plot of Paired Values
A scatter plot shows one position for each pair of numeric measurements, preserving which x and y occurred together.
-
Ordering Categories in a Chart
Category order changes how readers compare neighbors. Meaningful domain order and frequency order answer different questions.
-
Showing Long Category Labels
Long labels need a layout that preserves their readable names and association with plotted values.
-
Weighted and Unweighted Means
An unweighted mean assigns one unit of influence to each supplied value. A weighted mean assigns influence according to chosen nonnegative weights.
-
Finding the Median in an Ordered Sample
The median identifies a central value under an ordering. A convention is needed for even sample size.
-
Percentiles Depend on a Stated Method
A sample percentile estimates a boundary in an ordered distribution. Packages may use distinct rank and interpolation conventions.
-
An Unusual Observation and a Data Error
A large difference from neighbors can be evidence to investigate. Whether it is an error depends on the measurement and its acquisition context.
-
When Parts Sum to a Whole
A breakdown chart assumes categories are disjoint and cover the stated total. Overlapping memberships can violate that interpretation.
-
Showing Counts Alongside Rates
A rate without its base count can hide how much evidence supports a result and what population it represents.
-
What a Combined Summary Can Hide
Aggregating observations can hide groups with distinct behavior. Compare the intended population and weighting before interpreting one total.
-
Binning Events into Time Intervals
A time series can group events into intervals with specified edges and a calendar or elapsed-time convention.
-
A Count Versus an Event Rate
A count reports observed events. A rate divides by a compatible observation interval or exposure measure.
-
Linear and Logarithmic Plot Scales
A linear axis gives equal distances to equal differences. A logarithmic axis gives equal distances to equal multiplicative ratios within its positive domain.
-
A Simple Moving Average
A moving average summarizes neighboring values over a selected window. It can reduce visible fluctuation and can also spread or delay abrupt changes.
-
Aligning Measurements by Timestamp
Combining two measurement series requires a rule for pairing observations, especially if their timestamps are different.
-
Documenting the Unit and Scope of a Chart
A chart should identify what its values measure, which population it covers, and what its axes encode.
-
Checking a Chart Against Known Values
A chart test can use a small known data set to check transformations, order, units, and how missing values appear.
-
Aggregating Data Before Drawing a Chart
A chart can draw already aggregated values when the plotted grain is different from the source's individual records.
-
Retaining Raw Observations Beside Derived Data
A data process can keep original values and separately store or produce cleaned or derived values when reproducibility matters.