# Skill 129

> Tools and techniques for visually representing clinical laboratory results for easier interpretation and analysis. This skill is designed for creating informative and actionable visual displays of lab data from multiple sources.

- Skill: `legendtkl/skill-129` (Agent Skill)
- Install (CLI): `npx skillmds@latest add legendtkl/skill-129`
- Raw SKILL.md: https://api.skillmd.com/api/skills/legendtkl/skill-129/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: legendtkl (https://skillmd.com/u/legendtkl)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/legendtkl/skill-129

---


# Lab Result Visualization

## Overview

Lab Result Visualization provides a framework for effectively visualizing clinical laboratory data. It is essential for healthcare professionals to interpret lab results quickly and accurately, and visualizations can help highlight trends, abnormalities, and comparisons across different patient datasets.

This skill covers:
- **Graphical Representations**: Creating line charts, bar graphs, and scatter plots to display lab results over time.
- **Dashboard Integration**: Building interactive dashboards that aggregate lab data for easy monitoring.
- **Comparative Analysis**: Visualizing differences between various patient groups or treatment protocols.
- **Statistical Annotations**: Adding statistical significance markers or thresholds to visualizations for better clinical decision-making.

## When to Use This Skill

Use this skill when:
- You need to present lab results to stakeholders in an easily digestible format.
- Visualizing patient trends in lab results over time for monitoring treatment efficacy.
- Creating dashboards that synthesize data from various lab sources into a single view.
- Supporting clinical decisions with clear visual evidence of lab results.
- Enhancing research presentations with graphical data representations that convey findings effectively.

## Visualization Techniques

Here are some common techniques for visualizing laboratory data:

### 1. Line Charts
Line charts are ideal for showing trends in lab values over time.

```python
import matplotlib.pyplot as plt
import pandas as pd

df = pd.DataFrame({
    'Date': ['2023-01-01', '2023-02-01', '2023-03-01'],
    'Creatinine': [1.1, 1.3, 1.2]
})

df['Date'] = pd.to_datetime(df['Date'])

plt.plot(df['Date'], df['Creatinine'], marker='o')
plt.title('Creatinine Level Over Time')
plt.xlabel('Date')
plt.ylabel('Creatinine (mg/dL)')
plt.xticks(rotation=45)
plt.grid()
plt.show()
```

### 2. Bar Graphs
Bar graphs can be used to compare lab results between different patient demographics.

```python
import seaborn as sns

data = {'Patient Group': ['A', 'B', 'C'], 'Cholesterol': [200, 220, 215]}
df = pd.DataFrame(data)
sns.barplot(x='Patient Group', y='Cholesterol', data=df)
plt.title('Cholesterol Levels by Patient Group')
plt.ylabel('Cholesterol (mg/dL)')
plt.show()
```

### 3. Scatter Plots
Scatter plots can help identify correlations between lab results and other variables, such as age or BMI.

```python
import numpy as np

age = np.array([25, 30, 35, 40, 45])
creatinine = np.array([0.9, 1.0, 1.2, 1.5, 1.8])
plt.scatter(age, creatinine)
plt.title('Creatinine vs Age')
plt.xlabel('Age (years)')
plt.ylabel('Creatinine (mg/dL)')
plt.grid()
plt.show()
```

## Conclusion

Lab Result Visualization enhances the interpretability of clinical lab data by providing visual tools that help healthcare professionals make informed decisions based on trends, comparisons, and statistical insights. By utilizing the described techniques, users can create effective visual representations that support better patient care.
