Troubleshooting

Troubleshoot chart type selection — Visualization & Graphing

Troubleshoot chart type selection — Visualization & Graphing Cross-application area: Visualization & Graphing Status: Initial scientific graphics guidance; platform-specific features not verified. Recognize the defect The chart fo

ProductSustainable Catalyst Research LabUpdatedNovember 14, 2026Reading time1 minutes

Application area: Visualization & Graphing
Article classification: Technical troubleshooting / Chart selection / Scientific visualization integrity
Audience: Researchers, scientific programmers, visualization developers, data analysts, QA engineers, and publication reviewers
Technical level: Intermediate to advanced
Reference environment: Python 3, NumPy, Matplotlib, and pytest
Applicable standards: WCAG 2.2 and documented scientific visualization practices
Primary outputs: Chart defect classification, corrected chart specification, reproducible comparison, numerical verification, and resolution evidence
Estimated reading time: 12–15 minutes, excluding practical exercises

1. Recognize the defect

A chart-selection defect occurs when the chosen graphical representation does not adequately support the intended scientific comparison or encourages an interpretation that the underlying data cannot justify.

The chart may render successfully and display numerically correct values while remaining scientifically misleading.

Common symptoms include:

  • Bars with truncated baselines exaggerating differences.
  • Lines connecting categories that have no meaningful continuous order.
  • Pie charts used for quantities that are not parts of a common whole.
  • Scatter plots that conceal repeated measurements or overlapping observations.
  • Three-dimensional chart elements that distort magnitude comparisons.
  • Distribution plots that imply unsupported precision in very small samples.
  • Heat maps with inconsistent color normalization.
  • Choropleth maps that compare raw totals when rates are required.
  • Error bars with undefined or incorrect statistical meaning.
  • Aggregation that conceals important observations or group differences.
  • Missing data represented as zero or silently interpolated.
  • Chart axes, legends, or captions that misidentify the displayed variables.

Diagnostic principle: Determine whether the problem originates in the data, analytical transformation, chart-selection decision, graphical encoding, renderer, or scientific interpretation before applying a correction.

2. Classify the failure

Table 1. Chart-selection defects and diagnostic priorities
Symptom Likely cause First check
Exaggerated group difference Truncated bar baseline or inconsistent scales Inspect axis limits and mark geometry
False continuity Line chart used for unordered categories Review horizontal variable semantics
Misleading proportions Invalid denominator or overlapping categories Verify part-to-whole relationship
Hidden variability Aggregate-only chart Inspect raw observations and distributions
Unreliable density shape Smoothed distribution from too few observations Examine sample size and bandwidth
Incorrect uncertainty Wrong interval type or statistical computation Recalculate the interval
Unexpected trend Sorting, filtering, missingness, or incorrect time alignment Reconcile ordered source records
Misleading geographic pattern Wrong projection, normalization, or spatial aggregation Inspect coordinate and denominator rules
Inconsistent color meaning Automatic normalization or palette change Compare color scale bounds
Export differs from preview Renderer, clipping, font, or configuration mismatch Inspect exported artifact independently

3. Preserve the original evidence

Before replacing a chart or changing its analytical configuration, preserve the original figure and the information needed to reproduce it.

Retain:

  • Figure identifier and revision.
  • Research question and intended scientific claim.
  • Authoritative source dataset and immutable version.
  • Source checksum and relevant provenance.
  • Variable definitions, units, and observational units.
  • Statistical methods, grouping, and filtering rules.
  • Missing-data and uncertainty policies.
  • Original chart type and graphical marks.
  • Axis limits, scales, category order, and color encoding.
  • Renderer version and exact configuration.
  • Original exported image or document.
  • Relevant sanitized logs and screenshots.
  • Publications or decisions that depend on the figure.

Do not modify authoritative observations merely to repair graphical presentation. Use a new versioned figure artifact for corrections.

4. Follow the diagnostic sequence

  1. Verify the scientific question. Identify the comparison or relationship the figure is intended to communicate.
  2. Inspect the source dataset. Check observations, variables, units, source versions, missingness, and coverage.
  3. Reproduce the analytical result. Independently calculate the values represented by the chart.
  4. Identify the graphical encoding. Determine which variables are mapped to position, length, color, area, shape, or other marks.
  5. Check chart suitability. Confirm that the mark geometry supports the variable types and research question.
  6. Inspect scale and transformation rules. Check zero baselines, logarithmic scales, interpolation, normalization, and sorting.
  7. Generate an alternative representation. Compare the original chart with a scientifically defensible alternative.
  8. Inspect exports and accessibility. Verify the rendered output and accessible numerical content.
  9. Evaluate scientific interpretation. Determine whether the chart supports the stated conclusion.
  10. Record and review the correction. Preserve evidence and assess any publication impact.

5. Diagnose mark and variable incompatibility

Chart marks must correspond to the structure of the data.

Table 2. Common chart-type incompatibilities
Situation Problematic choice Potential alternative
Unordered experimental groups Connected line chart implying continuity Dot plot or raw-observation plot
Two numerical variables Category bar chart obscuring coordinate pairs Scatter plot
Small experimental sample Highly smoothed violin distribution Raw points with numerical summaries
Time-series observations Equally spaced category labels despite irregular times Chart using actual time coordinates
Model predictions Marks presented as measured observations Separate predicted and observed encodings
Part-to-whole comparison Pie chart with overlapping or nonexhaustive categories Validated stacked bar or separate quantitative comparison
Comparing uncertain estimates Bars with unexplained error bars Point-interval chart with defined uncertainty
Geographic event frequencies Map of raw counts interpreted as risk Rate map with an appropriate denominator, where justified

These are diagnostic starting points, not universal prohibitions. Scientific appropriateness depends on the question, measurement structure, and justified interpretation.

6. Diagnose misleading scales

6.1 Truncated bar baselines

Suppose two groups have values of 10 and 12.

Actual ratio:
12 / 10 = 1.2

For bars measured from zero, their lengths preserve this ratio.

With a baseline of 9:

First visible length = 10 - 9 = 1
Second visible length = 12 - 9 = 3

Visible length ratio = 3

The graphical length ratio becomes 3 rather than 1.2.

For magnitude comparisons, a zero-baseline bar chart is generally safer. A point chart with clearly labeled quantitative axes may be more appropriate when magnifying a small difference is necessary.

6.2 Logarithmic scales

A logarithmic scale can be appropriate for positive measurements spanning orders of magnitude.

However, it changes the visual distance between values and must be clearly labeled.

Zero and negative values require explicit handling rather than silent omission.

6.3 Dual axes

Dual-axis charts may suggest relationships that depend strongly on arbitrary scaling choices.

When comparing variables with different units, consider aligned panels, normalized quantities with justified definitions, or separate plots.

6.4 Color normalization

Quantitative heat maps commonly apply a normalization such as:

c = (x - x_min) / (x_max - x_min)

Changing the normalization range can alter the apparent intensity of the same value.

When comparing multiple maps or panels, check whether their scales are genuinely comparable.

7. Diagnose aggregation and hidden variation

A chart may correctly display the mean while hiding scientifically important variation.

For n observations:

mean = sum(y_i) / n

Different datasets may have the same mean but different distributions.

Consider:

Dataset A: 9, 10, 11
Dataset B: 0, 10, 20

Mean A = 10
Mean B = 10

A mean-only bar chart would show identical heights.

However, the observations have substantially different spread.

Where variation matters, inspect raw observations or use an appropriate distribution representation, potentially alongside the summary statistic.

Aggregation errors can also result from incorrect grouping, missing observations, duplicated records, or inappropriate weighting. Validate the analytical calculation before changing the chart type.

8. Construct a synthetic diagnostic fixture

The following fixture demonstrates how an unsuitable chart can exaggerate a comparison without changing the underlying values.

Table 3. Synthetic magnitude comparison
Group Value (synthetic units)
Group A 10
Group B 12

Expected numerical properties:

Difference = 2 synthetic units
Magnitude ratio = 1.2

Zero-baseline visual length ratio = 1.2
Baseline-9 visual length ratio = 3.0

These are synthetic educational values and do not represent experimental observations.

9. Reproduce and correct the chart defect

9.1 Prepare the environment

mkdir chart-selection-diagnostics
cd chart-selection-diagnostics

python3 -m venv .venv
source .venv/bin/activate

python -m pip install numpy matplotlib pytest

python --version
python -m pip freeze > requirements-lock.txt

9.2 Create the diagnostic script

Save as diagnose_chart.py.

from pathlib import Path
import hashlib
import json

import numpy as np

import matplotlib
matplotlib.use("Agg")

import matplotlib.pyplot as plt


OUTPUT = Path("diagnostic-output")
OUTPUT.mkdir(exist_ok=True)

GROUPS = ["Group A", "Group B"]
VALUES = np.array([10.0, 12.0])


def sha256(path):
    digest = hashlib.sha256()

    with Path(path).open("rb") as handle:
        for chunk in iter(
            lambda: handle.read(1024 * 1024),
            b""
        ):
            digest.update(chunk)

    return digest.hexdigest()


def validate_values(values):
    values = np.asarray(values, dtype=float)

    if values.ndim != 1 or values.size == 0:
        raise ValueError("Invalid data shape")

    if not np.isfinite(values).all():
        raise ValueError("Nonfinite data")

    return True


def validate_chart_spec(spec):
    chart_type = spec["chart_type"]

    if chart_type not in {"bar", "dot"}:
        raise ValueError("Unsupported chart type")

    if not spec.get("units"):
        raise ValueError("Missing measurement units")

    if not spec.get("question"):
        raise ValueError("Missing analytical question")

    if chart_type == "bar":
        if spec["baseline"] != 0:
            raise ValueError(
                "Magnitude bars require a zero baseline"
            )

    return True


def visible_length_ratio(values, baseline):
    lengths = np.asarray(values) - baseline

    if np.any(lengths <= 0):
        raise ValueError(
            "Invalid visible lengths for ratio"
        )

    return float(lengths[1] / lengths[0])


def make_figure(chart_type, baseline, filename):
    fig, ax = plt.subplots(figsize=(6, 4))

    if chart_type == "bar":
        bars = ax.bar(
            GROUPS,
            VALUES,
            color=["#174a67", "#a43b28"]
        )

        ax.set_ylim(baseline, 14)

        for bar, expected in zip(bars, VALUES):
            np.testing.assert_allclose(
                bar.get_height(),
                expected,
                rtol=0,
                atol=1e-12
            )

    elif chart_type == "dot":
        ax.scatter(
            VALUES,
            [0, 1],
            marker="o"
        )

        ax.set_yticks([0, 1], GROUPS)
        ax.set_xlim(9, 13)
        ax.set_xlabel("Value (synthetic units)")

    else:
        raise ValueError("Unsupported chart")

    if chart_type == "bar":
        ax.set_ylabel("Value (synthetic units)")

    fig.tight_layout()

    path = OUTPUT / filename
    fig.savefig(path, dpi=180)

    plt.close(fig)
    return path


validate_values(VALUES)

actual_ratio = float(
    VALUES[1] / VALUES[0]
)

distorted_ratio = visible_length_ratio(
    VALUES, baseline=9
)

assert np.isclose(actual_ratio, 1.2)
assert np.isclose(distorted_ratio, 3.0)

# Preserve a reproduction of the defect.
distorted_file = make_figure(
    "bar",
    baseline=9,
    filename="truncated-bars.png"
)

# Correct the magnitude-bar representation.
correct_file = make_figure(
    "bar",
    baseline=0,
    filename="zero-baseline-bars.png"
)

# Alternative representation for detailed comparison.
dot_file = make_figure(
    "dot",
    baseline=0,
    filename="comparison-dots.png"
)

valid_spec = {
    "chart_type": "bar",
    "baseline": 0,
    "units": "synthetic units",
    "question": "Compare two magnitudes"
}

assert validate_chart_spec(valid_spec)

report = {
    "fixture": "synthetic_magnitude_comparison",
    "values": VALUES.tolist(),
    "magnitude_ratio": actual_ratio,
    "truncated_visible_ratio": distorted_ratio,
    "defect": "truncated_bar_baseline",
    "corrected_chart": "zero_baseline_bar",
    "alternative_chart": "dot_plot",
    "artifacts": {
        "original_sha256": sha256(distorted_file),
        "corrected_sha256": sha256(correct_file),
        "alternative_sha256": sha256(dot_file)
    },
    "numerical_checks": "pass",
    "visual_review": "not_tested",
    "accessibility": "not_tested",
    "scientific_review": "not_tested"
}

(OUTPUT / "diagnostic-report.json").write_text(
    json.dumps(report, indent=2),
    encoding="utf-8"
)

print("Actual magnitude ratio:", actual_ratio)
print("Truncated visual ratio:", distorted_ratio)
print("Diagnostic reproduction: complete")

9.3 Execute the script

python diagnose_chart.py

Expected output:

Actual magnitude ratio: 1.2
Truncated visual ratio: 3.0
Diagnostic reproduction: complete

Generated artifacts:

diagnostic-output/
  truncated-bars.png
  zero-baseline-bars.png
  comparison-dots.png
  diagnostic-report.json

The exercise illustrates an intentional chart-design defect and two ways to communicate the values without the same bar-length distortion.

It verifies numerical chart properties, but the generated figures still require visual and accessibility review.

10. Develop automated regression tests

After correcting a defect, add tests that detect the original failure and related invalid chart configurations.

Save as test_chart_selection.py.

import numpy as np
import pytest

from diagnose_chart import (
    validate_values,
    validate_chart_spec,
    visible_length_ratio
)


def valid_spec():
    return {
        "chart_type": "bar",
        "baseline": 0,
        "units": "synthetic units",
        "question": "Compare magnitudes"
    }


def test_valid_bar_specification():
    assert validate_chart_spec(valid_spec())


def test_truncated_bar_rejected():
    spec = valid_spec()
    spec["baseline"] = 9

    with pytest.raises(ValueError):
        validate_chart_spec(spec)


def test_dot_chart_accepted():
    spec = valid_spec()
    spec["chart_type"] = "dot"
    spec["baseline"] = 9

    assert validate_chart_spec(spec)


def test_missing_units_rejected():
    spec = valid_spec()
    spec["units"] = ""

    with pytest.raises(ValueError):
        validate_chart_spec(spec)


def test_unknown_chart_rejected():
    spec = valid_spec()
    spec["chart_type"] = "unknown"

    with pytest.raises(ValueError):
        validate_chart_spec(spec)


def test_actual_ratio():
    result = visible_length_ratio(
        [10.0, 12.0],
        baseline=0
    )

    assert result == pytest.approx(1.2)


def test_truncated_ratio_detected():
    result = visible_length_ratio(
        [10.0, 12.0],
        baseline=9
    )

    assert result == pytest.approx(3.0)


def test_empty_source_rejected():
    with pytest.raises(ValueError):
        validate_values([])


@pytest.mark.parametrize(
    "invalid",
    [np.nan, np.inf, -np.inf]
)
def test_nonfinite_data_rejected(invalid):
    with pytest.raises(ValueError):
        validate_values([10.0, invalid])


def test_invalid_ratio_domain():
    with pytest.raises(ValueError):
        visible_length_ratio(
            [10.0, 12.0],
            baseline=10
        )

Execute:

python -m pytest -v test_chart_selection.py

The reference suite defines twelve cases after expanding the parameterized invalid-value test.

Implementation note: The diagnose_chart.py example performs figure generation at module import time. It is suitable for a small educational demonstration, but production implementations should place executable work inside a function or a if __name__ == "__main__" entry point so importing validation functions does not generate artifacts.

The tests check known numerical and configuration conditions. They do not replace scientific judgment about chart appropriateness.

11. Diagnose uncertainty and statistical errors

A chart may be unsuitable because it implies a level of statistical certainty unsupported by its source data.

Investigate:

  • Whether a mark represents an observation or estimate.
  • The estimator and contributing sample.
  • Uncertainty calculations and interval definitions.
  • Sample size and repeated-measurement structure.
  • Whether the chart suppresses relevant distributional variation.
  • Whether confidence, prediction, or credible intervals are mislabeled.

For the conventional sample standard deviation:

s = sqrt(
    sum((y_i - mean)^2) / (n - 1)
)

The formula requires n greater than 1 and an appropriate sample interpretation.

A bar chart with an unexplained interval is not sufficient evidence of statistical significance.

Where uncertainty cannot be reconstructed, escalate for scientific review rather than replacing the interval with an arbitrary visual approximation.

12. Diagnose temporal and geospatial chart errors

12.1 Temporal charts

Check whether the horizontal variable contains actual timestamps or categorical labels.

Verify:

  • Observation dates and time zones.
  • Irregular sampling intervals.
  • Missing time periods.
  • Aggregation windows.
  • Interpolation and smoothing assumptions.
  • Observation versus forecast status.

Do not assume that equally spaced graphical positions represent equally spaced observation times.

12.2 Geospatial charts

Check:

  • Coordinate reference system and projection.
  • Raster or vector resolution.
  • Spatial extent and geographic boundaries.
  • Normalization of counts, rates, or densities.
  • No-data values and masking.
  • Spatial interpolation and aggregation.

A map can reproduce the correct source values and still be misleading if its geographic normalization or encoding is inappropriate.

12.3 Dimensionality

Three-dimensional rendering does not necessarily add scientifically meaningful dimensional information.

Perspective, surface shading, and animation may create visual depth without representing a validated third or fourth scientific variable.

Where dimensionality matters, document exactly what each coordinate, surface, color, and animation frame represents.

13. Inspect renderer and export behavior

When chart selection is appropriate but the output appears incorrect, investigate the renderer and export process.

Potential defects include:

  • Automatic axis rescaling.
  • Unexpected category sorting.
  • Color-scale normalization changes.
  • Invisible or clipped marks.
  • Missing legends or labels.
  • Different interactive and exported configurations.
  • Stale cached figures.
  • Font substitution or rasterization errors.

Compare the internal numerical data supplied to the renderer with the exported artifact and an independent tabular representation.

Do not change source values to compensate for an incorrect graphical transformation.

14. Controlled recovery procedure

  1. Preserve the original figure. Save the rendering configuration, source reference, original export, and error evidence.
  2. Reconstruct the numerical result. Confirm that the source values and transformations are correct.
  3. Identify the chart defect. Separate inappropriate mark selection from scale, aggregation, statistical, or renderer errors.
  4. Test an alternative. Generate a scientifically defensible comparison chart.
  5. Preserve numerical fidelity. Check that the corrected chart uses the same intended source or explicitly document any analytical change.
  6. Validate uncertainty and missingness. Ensure the revised representation communicates these properties appropriately.
  7. Inspect accessibility. Verify numerical equivalents, color independence, captions, and relevant interaction requirements.
  8. Run regression tests. Confirm that the original defect is detected by the updated validation process.
  9. Save a new figure revision. Preserve code, configuration, outputs, hashes, and test receipts.
  10. Review publication impact. Determine whether existing claims or distributed figures need correction.

Do not silently overwrite a published chart when the change affects scientific interpretation or evidence.

Where appropriate, issue a documented figure correction and retain a relationship to the superseded version.

15. Accessibility and communication review

A scientifically appropriate chart must remain interpretable to its intended audience.

Provide:

  • Descriptive chart title and caption.
  • Correct variable and unit labels.
  • Accessible numerical data tables.
  • Non-color-only encoding distinctions.
  • Extended descriptions for complex charts.
  • Meaningful uncertainty explanations.
  • Keyboard-accessible controls where applicable.

WCAG 2.2 provides criteria for non-text content, color use, contrast, and keyboard accessibility (W3C, 2024).

Automated accessibility checks are useful but do not replace review of the chart’s scientific meaning and interpretability.

16. Scientific acceptance matrix

Table 4. Chart-selection troubleshooting completion criteria
Criterion Pass condition Evidence
Source integrity Correct source artifact and revision identified Source reference and checksum
Scientific question Intended comparison is explicitly defined Figure specification
Variable compatibility Chart matches variable types and dimensions Schema review
Numerical correctness Plotted values reconcile to authoritative data Independent calculation
Mark appropriateness Selected marks support the intended comparison Chart-design review
Scale integrity Axis and mark geometry do not misrepresent magnitude Configuration and visual inspection
Aggregation Derived values and groupings are accurate Statistical verification
Uncertainty Interval definitions and calculations are correct Statistical evidence
Missingness Missing and excluded observations are represented honestly Data-handling review
Renderer integrity Exported marks and labels match intended configuration Export inspection
Accessibility Essential relationships and values remain accessible Accessibility review
Reproducibility Corrected figure can be regenerated Execution receipt
Alternative-chart review Reasonable alternatives have been considered Review findings
Scientific interpretation Claims remain supported after correction Independent reviewer assessment

Decision rule: Record each applicable criterion as Pass, Fail, or Not Tested. A chart-selection issue is not resolved solely because the replacement image appears more attractive or its numerical values match a source table.

17. Evidence package and correction record

A complete troubleshooting record should contain:

  • Issue identifier and affected figure revision.
  • Original chart and source dataset.
  • Authoritative source version and checksum.
  • Original chart-selection rationale.
  • Confirmed or suspected root cause.
  • Numerical calculations and comparison tables.
  • Original and corrected chart specifications.
  • Alternative rendering artifacts.
  • Source and renderer versions.
  • Executed regression and visual-review results.
  • Accessibility and scientific review findings.
  • Publication impact and correction decision.
  • Reviewer, date, and outstanding limitations.

17.1 Illustrative correction receipt

{
  "schema_version": "example-1.0",
  "issue_id": "synthetic-chart-001",
  "figure_id": "group-comparison",
  "source_classification": "synthetic",
  "defect": "truncated_bar_baseline",
  "original_chart": {
    "type": "bar",
    "baseline": 9
  },
  "corrected_chart": {
    "type": "bar",
    "baseline": 0
  },
  "alternative_chart": "dot_plot",
  "validation": {
    "source_integrity": "not_tested",
    "numerical_reconciliation": "not_tested",
    "mark_appropriateness": "not_tested",
    "rendering": "not_tested",
    "accessibility": "not_tested",
    "scientific_review": "not_tested"
  },
  "publication_approval": "not_approved"
}

This is an illustrative documentation structure, not a certified Sustainable Catalyst issue schema. Populate real results only after execution and review.

18. Sustainable Catalyst diagnostic integration

The following responsibilities describe an intended integration model. They are not independently verified deployment claims.

Table 5. Proposed cross-application chart troubleshooting responsibilities
Application Intended responsibility
Library Verify source data, provenance, revision, units, and rights
Workbench Recompute numerical values and reproducible figure inputs where implemented
Research Lab Evaluate statistical assumptions, uncertainty, and scientific validity
Visualization & Graphing Inspect chart types, mark mappings, scales, and renderer output
Site Intelligence Validate geographic chart selection, projections, and normalization where supported
Decision Studio Evaluate figures used in model and scenario comparisons where implemented
Workspace Track correction ownership, evidence, review, and approval
Research Identify published figures and coordinate approved corrections

18.1 Source audit requirement

Before certifying a Sustainable Catalyst chart-selection fix, attach:

  • Owning repository and exact implementation revision.
  • Actual renderer and version.
  • Input/output schema and mark mappings.
  • Chart type and scale configuration rules.
  • Source-data and transformation code paths.
  • Rendered screenshots and exported artifacts.
  • Numerical and graphical test receipts.
  • Accessibility and security review results.
  • Known unsupported chart types or configurations.
  • Publication and correction approval evidence.

The availability of Plotly, Matplotlib, Vega-Lite, or another charting library does not establish scientifically governed chart selection within the platform.

19. Escalation criteria

Escalate to scientific or engineering review when:

  • The chart type is incompatible with the represented variable structure.
  • Numerical values disagree with authoritative source data.
  • The representation materially exaggerates or obscures differences.
  • Uncertainty or missingness is incorrectly represented.
  • Temporal or spatial relationships are misleading.
  • Dimensionality is implied without scientific justification.
  • Independent review identifies unsupported conclusions.
  • A published report or policy claim relies on the misleading figure.

Do not treat these conditions as cosmetic defects when they affect scientific evidence or interpretation.

20. Technical references

  1. Cleveland, W.S. and McGill, R. (1984). ‘Graphical perception: Theory, experimentation, and application to the development of graphical methods’, Journal of the American Statistical Association, 79(387), pp. 531–554. Available at: https://doi.org/10.1080/01621459.1984.10478080.
  2. Wilkinson, L. (2005). The Grammar of Graphics. 2nd ed. New York: Springer.
  3. Vega-Lite Developers (n.d.). Mark. Available at: Vega-Lite documentation.
  4. Vega-Lite Developers (n.d.). Error Bar. Available at: Vega-Lite documentation.
  5. Matplotlib Development Team (n.d.). Matplotlib Documentation. Available at: https://matplotlib.org/stable/.
  6. Harris, C.R. et al. (2020). ‘Array programming with NumPy’, Nature, 585, pp. 357–362. Available at: https://doi.org/10.1038/s41586-020-2649-2.
  7. pytest Development Team (n.d.). pytest Documentation. Available at: https://docs.pytest.org/en/stable/.
  8. World Wide Web Consortium (W3C) (2024). Web Content Accessibility Guidelines (WCAG) 2.2. Available at: https://www.w3.org/TR/WCAG22/.
  9. W3C Web Accessibility Initiative (n.d.). Images Tutorial: Complex Images. Available at: W3C WAI.

21. Completion and verification record

Table 6. Required troubleshooting outcome record
Field Required record
Issue identifier Unique diagnostic reference
Affected figure Figure and revision identifiers
Source integrity Pass, Fail, or Not Tested
Chart appropriateness Pass, Fail, or Not Tested
Numerical reconciliation Pass, Fail, or Not Tested
Scale and encoding Pass, Fail, or Not Tested
Aggregation Pass, Fail, or Not Tested
Uncertainty Pass, Fail, or Not Tested
Missingness Pass, Fail, or Not Tested
Rendering and export Pass, Fail, or Not Tested
Accessibility Pass, Fail, or Not Tested
Reproducibility Pass, Fail, or Not Tested
Alternative-chart review Pass, Fail, or Not Tested
Scientific review Pass, Fail, or Not Tested
Root cause Confirmed explanation or unresolved hypothesis
Corrective action Documented change and rationale
Reviewer Actual reviewer and review date
Evidence Data, scripts, figures, test receipts, and hashes
Outstanding limitations Unresolved scientific or implementation concerns

Completion criterion: A chart-selection defect is resolved only when the corrected representation supports the intended scientific comparison, preserves numerical fidelity, communicates uncertainty and limitations appropriately, and passes applicable rendering, accessibility, reproducibility, and scientific review requirements.

Scientific limitation: Correct chart selection cannot repair biased sampling, inaccurate measurements, invalid statistical models, or unsupported causal conclusions.

Current implementation status: Diagnostic methodology, synthetic reproduction, alternative visualizations, negative-test definitions, and proposed recovery acceptance criteria documented. No specific Sustainable Catalyst chart-selection engine, renderer, or publication-correction workflow is certified without implementation-specific source audit, executed tests, runtime visual evidence, and release acceptance.

Scroll to Top