Compare multivariate profiles only after documenting normalization, axis order and missing-value treatment.
Parallel coordinates: make every axis conversion inspectable
A polyline is one record
Parallel coordinates display one entity as a line crossing several vertical axes. Its crossings are the entity's values; line slopes between axes are visual connectors, not measured rates of change. Before drawing, name every metric and unit. A route whose five service measures have incompatible units cannot be read honestly on one raw height scale. Scale integrity applies independently to every axis. Put the raw value in a tooltip or adjacent table so a normalized line does not erase the original measurement.
Normalization changes the question
Min-max normalization maps each axis to a shared display interval, but a single extreme entity can compress all others. Fixed policy bounds may be more stable than bounds computed from the current filter. If lower is preferable for one metric, invert its display direction and label that inversion. Never silently reverse an axis just to make good records form a tidy line. Target-oriented KPI charts may be clearer if the decision is only whether a threshold was met. Keep the bounds, direction and unit beside each dimension in exported metadata.
Axis order and brushing are analytic choices
Swapping two adjacent axes changes which relationships are visually easiest to see, even though the data stay unchanged. Pick an order tied to the question, such as intake, response, resolution and cost, then preserve it across comparable views. Brushing one range selects entities; a linked table should show which IDs remain and how many were excluded. Linked filters require explicit cohort state. Avoid drawing every record at full opacity: a thousand crossing lines become an opaque band. Sampling must retain a visible selected count and a full-population summary.
Missing values must not become fabricated paths
A line should break or be omitted with an explicit reason when one dimension is absent; zero is not a replacement for missing. Check whether the missingness is related to the outcome being inspected. If only high-cost projects fail to report quality, excluding incomplete records changes the apparent relationship. An export manifest should name complete-case rules, filter state, axis order, bounds and transformed values. For accessibility, offer a sortable table of the underlying records and a concise summary of which dimensions separate selected groups.
Worked contract
from math import isfinite
def normalize_profile(profile: dict[str, float | None],
axes: dict[str, tuple[float, float, bool]]
) -> dict[str, float | None]:
if set(profile) != set(axes):
raise ValueError("profile dimensions must match axis declarations")
normalized = {}
for metric, (low, high, lower_is_better) in axes.items():
value = profile[metric]
if not all(isfinite(bound) for bound in (low, high)) or high <= low:
raise ValueError("axis bounds must be finite and ordered")
if value is None:
normalized[metric] = None
continue
if not isfinite(value) or not low <= value <= high:
raise ValueError("measurement outside declared axis")
position = (value - low) / (high - low)
normalized[metric] = 1 - position if lower_is_better else position
return normalized
axes = {"response_minutes": (0, 120, True),
"resolved_percent": (0, 100, False)}
depot_profile = normalize_profile(
{"response_minutes": 47, "resolved_percent": 81}, axes)
assert round(depot_profile["response_minutes"], 4) == 0.6083
assert depot_profile["resolved_percent"] == 0.81Performance and operating cost
For D dimensions in one record, normalization takes O(D) time and O(D) output space; N records take O(ND). Rendering N polylines can dominate interaction cost, especially when brushing triggers full redraws. The code rejects values outside policy bounds rather than clipping them invisibly. If clipping is intended, export both raw and displayed values and count clipped records by axis.
Common Mistakes
- Interpreting connector slope as a real-world rate of change.
- Recomputing axis bounds after a filter and comparing line heights as if scale stayed fixed.
- Silently reversing one axis or replacing missing with zero.
- Drawing all records at full opacity and calling the dense band a cluster.
Validation drill
Compare 59 depots on response time, resolution rate and cost. Publish fixed axis bounds, invert only metrics where lower is better, then brush a subgroup and reconcile its ID count to the table.
Read next
- Axis scales, baselines and labels: prevent a correct number from telling a false story
- Bullet charts: show a measure, target and performance bands honestly
- Interactive dashboards: recompute cohorts after linked filters
- Chart exports: carry the data, filters and render contract together
