Skip to content
Back to skills

572 Usage Guide 3bfac6f2

ASecurity

ggplot2 is a declarative visualization system based on the Grammar of Graphics. Build publication-quality figures layer by layer.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
dataexpress

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 572-usage-guide_3bfac6f2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 572 Usage Guide 3bfac6f2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 572 Usage Guide 3bfac6f2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-572-usage-guide-3bfac6f2/badge)](https://www.skillsdirectory.com/skills/tools-only-572-usage-guide-3bfac6f2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# ggplot2 Fundamentals - Usage Guide

## Overview
ggplot2 is a declarative visualization system based on the Grammar of Graphics. Build publication-quality figures layer by layer.

## Prerequisites
```r
install.packages(c('ggplot2', 'patchwork', 'ggrepel', 'scales', 'RColorBrewer', 'viridis'))
```

## Quick Start
Tell your AI agent what you want to do:
- "Create a volcano plot with labeled significant genes"
- "Make a multi-panel figure with panels A, B, C"
- "Set up a consistent theme for all my figures"

## Example Prompts
### Basic Plots
> "Create a scatter plot of gene expression vs significance"

> "Make a bar chart showing sample counts by condition"

### Customization
> "Apply a Nature-style theme to my plot"

> "Add a regression line with confidence interval"

### Publication Export
> "Export my figure at 300 DPI for journal submission"

> "Save as vector PDF for publication"

## What the Agent Will Do
1. Define data mapping with aesthetics (x, y, color, size)
2. Add appropriate geoms (points, lines, bars)
3. Customize scales, labels, and theme
4. Save at publication-quality resolution

## Grammar of Graphics

| Component | Description |
|-----------|-------------|
| Data | The dataset to visualize |
| Aesthetics | Mappings (x, y, color, size) |
| Geoms | Visual elements (points, lines, bars) |
| Scales | How data maps to aesthetics |
| Facets | Small multiples |
| Theme | Visual styling |

## Tips
- Always include axis labels with units
- Use colorblind-friendly palettes (viridis)
- Export at 300+ DPI for publication
- Use vector format (PDF) when possible
- Keep font size readable (8pt minimum)

## Related Skills
- **differential-expression/de-visualization** - Specialized plots
- **reporting/rmarkdown-reports** - Embed in reports

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.