agentleFS
aneja5aneja5/forge-skills/skills/data-visualization/SKILL.md

data-visualization

Skill3 starsChanged 7 months agoMITView on GitHub

Use when building dashboards, charts, or data displays, when defining chart type selection rules, when standardizing data color encoding, or when charts look inconsistent across the product.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use loading-states, interview-script and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dylantarreSkill

    loading-states

    Use when indicating progress or waiting - spinners, progress bars, skeleton screens, shimmer effects, or any animation showing the system is working.

    Also in 3 projects that use this

  • launchapp-devSkill

    interview-script

    Create a structured user interview script with warm-up, core exploration, and wrap-up sections. Use when preparing for user research interviews to ensure consistent, insightful conversations.

    Also in 3 projects that use this

  • MicrosoftSkill

    presentations

    Create or edit editable PowerPoint PPTX slides and Google Slides-bound decks. Use for presentations, slide layouts, speaker notes, and template-based decks.

    Also in 3 projects that use this

  • SentrySkill

    feature-flags

    Gate a Sentry feature behind a FlagPole feature flag. Use when adding a feature flag, registering a flag in temporary.py, checking a flag from Python or the frontend, enabling a flag in tests, or asking where FlagPole rollout config lives. Trigger on "add a feature flag", "gate this behind a flag", "register a flag", "features.has", "api_expose", "OrganizationFeature", "ProjectFeature", "FlagPole".

    Also in 3 projects that use this

  • skytiger6724Skill

    ab-test-analysis

    Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.

    Also in 3 projects that use this

  • silvainfmSkill

    copy-editing

    When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' or 'copy sweep.' This skill provides a systematic approach to editing marketing copy through multiple focused passes.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 29 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .forge/design-system.md for color palette + typography.

    line 50
  2. Distinctive:

    Document the rules. Charts are picked by data shape, not aesthetics.

    line 54
  3. Distinctive:

    Accessibility floor: never color-only. Add patterns (dashes, dots), labels, or icons so the encoding survives grayscale and color blindness.

    line 78
  4. Distinctive:

    Never depend on hover. Every interaction has a tap path.

    line 97
  5. Distinctive:

    If the product is data-heavy, document recurring chart patterns by domain:

    line 114
  6. Distinctive:

    If not data-heavy, skip — don't invent patterns to fill the section.

    line 121

“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Visualization

Overview

Pin down chart-type selection rules, data color encoding, axis conventions, responsive behavior, empty states, and load animations before charts proliferate. Output is .forge/data-visualization.md. Reads design-system (color palette, typography) and component-library (chart components). Referenced by every dashboard, report, and analytics surface.

When to Use

  • A dashboard or analytics surface is being built and no chart conventions exist
  • Charts across the product use 8 different color palettes and 3 different tooltip styles
  • A new chart type is being added and the team needs a rule for when to use it
  • Data colors don't track design tokens (raw #3B82F6 inside chart code)
  • A report needs to work on mobile and the existing charts don't respond

When NOT to Use

  • A single one-off chart on a marketing page — use the design system colors and move on
  • A product with no data surfaces (auth, settings, content)
  • A backend-only service

Common Rationalizations

ThoughtReality
"Just use whatever chart looks good"Mismatched chart types across a dashboard look like three different products stitched together.
"We'll standardize later"By then you have 8 charts with 8 different palettes and 3 tooltip styles.
"Pie charts are fine"Humans can't accurately compare angles. Donuts with center metrics beat pies; horizontal bars beat both for comparison.
"We don't need empty states for charts"A blank chart area makes users think the product is broken.
"Hover tooltips work everywhere"Hover doesn't exist on touch. Every tooltip needs a tap path.

Red Flags

  • Pie chart used for comparison (use horizontal bar)
  • Color as the only differentiator (no patterns/labels/icons for accessibility)
  • Y-axis not starting at 0 (misleading without a "delta" framing)
  • Inconsistent date formats across charts (MMM DD here, MM/DD/YY there)
  • Chart with no empty state — just a blank rectangle
  • Tooltip that only works on hover (unusable on touch)
  • More than 5 distinct colors in one chart

Core Process

Step 1: Read upstream artifacts

Read .forge/design-system.md for color palette + typography. Read .forge/component-library.md for the chart components catalog. If charts aren't yet catalogued, add them in component-library first.

Step 2: Chart type selection — a decision tree, not a vibe

Document the rules. Charts are picked by data shape, not aesthetics.

Data shapeChart type
Trend over timeLine (or area if cumulative)
Part of wholeDonut with center metric (never pie)
Comparison across categoriesHorizontal bar (labels remain readable)
DistributionHistogram or box plot
CorrelationScatter plot
RankingSorted horizontal bar
Performance scoreGauge or radial progress
Multi-axis comparisonRadar (sparingly — humans struggle past 5 axes)
GeographicMap (only when geography drives the insight)
Time-of-day / frequency matrixHeatmap

Step 3: Data color encoding

Semantic, not decorative. All colors come from design-system tokens.

  • Performance / positive → green gradient (success token family)
  • Risk / negative → red gradient (error / danger token family)
  • Neutral / informational → blue gradient (primary token family)
  • Comparison series → max 5 distinct colors, ordered by semantic weight (most prominent series gets accent)
  • Sequential data → single-hue gradient, dark to light
  • Accessibility floor: never color-only. Add patterns (dashes, dots), labels, or icons so the encoding survives grayscale and color blindness.

Step 4: Axis + label conventions

  • Y-axis starts at 0 (exception: change/delta charts, which must be labeled as such)
  • Labels inside the chart when space allows, outside when crowded
  • Units always shown: %, $, count, ms
  • Date format consistent product-wide (e.g., MMM DD for English locales)
  • Truncate long category labels with ellipsis + tooltip; never wrap

Step 5: Responsive chart behavior

BreakpointBehavior
DesktopFull chart with legend beside; tooltip on hover or tap
TabletChart fills width; legend below
MobileSimplified chart (fewer data points or aggregated bins); legend as dropdown or hidden; tap-only tooltip
TouchTap toggles tooltip; tooltip dismisses on outside tap

Never depend on hover. Every interaction has a tap path.

Step 6: Empty states for charts

A chart with no data is not a blank area. Show:

  • Headline: "No data yet" (per brand-identity voice)
  • Context: "Calls from this week will appear here" or "Import data to see trends"
  • Optional CTA: link to the source of data or to documentation

Step 7: Animation on data load

  • Staggered reveal per references/motion-system.md chart section — bars grow, lines draw, numbers count up
  • Duration: emphasis-tier (400–500ms) on first load; standard (200–300ms) on update
  • Respect prefers-reduced-motion — collapse to instant appearance, opacity fade only

Step 8: Domain-specific patterns

If the product is data-heavy, document recurring chart patterns by domain:

  • Score distribution — histogram with performance bands (red / yellow / green zones)
  • Trend lines — 7-day moving average overlaid on daily points
  • Team comparison — grouped bar, sorted by aggregate
  • Volume by time-of-day — area chart + heatmap; aligns to the analytics narrative

If not data-heavy, skip — don't invent patterns to fill the section.

Step 9: Write .forge/data-visualization.md

Section order: upstream-read confirmation, chart selection rules, color encoding, axis + labels, responsive behavior, empty states, animation, domain-specific patterns. Prepend a forge:meta header (generated_by: data-visualization, generated_at: <ISO 8601 UTC with Z>, depends_on: [.forge/design-system.md, .forge/component-library.md] — paths only, never hashes, generated_from: {.forge/design-system.md: <hash>, .forge/component-library.md: <hash>} — each upstream's content_hash AT generation time, content_hash: <sha256 first 8 of THIS file's body>).

Verification

  • Chart selection has a rule for every chart type the product uses (no ad-hoc choices)
  • Color encoding is consistent across the product and accessible (not color-only)
  • Every chart type has an empty state with context, not a blank area
  • No chart depends on hover — every tooltip has a tap path
  • Animation respects prefers-reduced-motion
  • Y-axis policy documented (starts at 0 except for delta/change charts, which must be labeled)
  • No raw hex in chart code — every color is a design-system token
  • Domain-specific patterns documented if the product is data-heavy (or skipped with reason)
  • .forge/data-visualization.md written with forge:meta header

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.