agentleFS
laban405laban405/ui-design-skills/skills/data-visualization/SKILL.md

data-visualization

Skill0 starsChanged 2 months agoMITView on GitHub

Design, review, and implement effective data visualizations using practical principles for chart selection, data ordering, visual hierarchy, colors, tooltips, legends, gridlines, trend lines, and realistic data. Use when creating charts, dashboards, analytics interfaces, or reviewing existing data visualizations.

51 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use case-study-writing, loading-states and 10 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.
  • CAPP-FinancialsSkill

    case-study-writing

    Client case study with challenge-approach-solution-impact structure and quantified outcomes

    Also in 3 projects that use this

  • soilmassSkill

    loading-states

    Animation patterns for loading, progress, and waiting states. Use for skeleton screens, progress indicators, optimistic UI, and content placeholder transitions. Keeps users informed and engaged during async operations.

    Also in 3 projects that use this

  • nddqSkill

    dashboard-design

    Also in 5 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

  • xfstudioSkill

    data-storytelling

    Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.

    Also in 4 projects that use this

  • abinauvSkill

    change-management

    Comprehensive change management consulting toolkit — stakeholder mapping, ADKAR framework, Kotter's 8-Step Model, communication planning, resistance analysis, cultural assessment, readiness assessment, training needs analysis, impact assessment, and transition planning.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 44 edited versions we read keep these.

  • 4

    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:

    Use these principles when designing, reviewing, or implementing data visualizations.

    line 8
  2. Distinctive:

    Prefer chart types users already know how to read: bar/column, line, area, pie/donut.

    line 12
  3. Distinctive:

    If a pie chart is the right call, cap it at 5 slices.

    line 16
  4. Distinctive:

    Add gridlines only where they help the user map a data point back to an axis value.

    line 40
  5. Distinctive:

    Add a trend line only when it reveals something the raw plotted data doesn't already show.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 44 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

Use these principles when designing, reviewing, or implementing data visualizations. Source rationale and extended examples live in references/chart-principles.md — read it when a decision needs more justification than the checklist below gives.

1. Choose a familiar chart type

Prefer chart types users already know how to read: bar/column, line, area, pie/donut. Don't invent a novel chart type (streamgraphs, etc.) unless there's a clear, specific usability win over a familiar one.

2. Limit pie charts to 5 slices

If a pie chart is the right call, cap it at 5 slices. Past that, switch to a bar chart — it handles more categories and comparison is easier than eyeballing angles.

3. Order categorical data

Sort bar/column data ascending or descending unless there's an inherent order (e.g. time). Time-series data stays chronological — never re-sorted by value.

4. No 3D charts

3D effects distort area/angle perception and add nothing. Never use them for decoration.

5. Use an intentional color palette

Don't rely on auto-generated/random series colors. Pick a deliberate palette that fits the product's visual language, keeps series distinguishable, holds contrast, and is consistent in meaning across the app (e.g. the same category is always the same color). Never make color the only channel carrying essential information — pair it with position, label, or pattern.

6. Don't depend on tooltips

Tooltips are supplementary. Primary values and the key comparison the chart is making must be legible without hovering.

7. Skip unnecessary legends

A single-series chart doesn't need a legend — use the chart title or a direct label instead. Add a legend only when there are multiple series that need disambiguating.

8. Use gridlines deliberately

Add gridlines only where they help the user map a data point back to an axis value. Don't default to gridlines on both axes — often one axis (or none) is enough.

9. Be skeptical of trend lines

Add a trend line only when it reveals something the raw plotted data doesn't already show. If it's optional insight rather than core to the point, make it toggleable.

10. Design and test with realistic data

Never finalize a chart design against idealized sample data. Stress-test with: very small datasets, very large datasets, long labels, missing values, zero values, negative values, wide numeric ranges, duplicate/near-identical categories, and outliers. Keep a "pretty" version for portfolio/presentation purposes separate from the "real data" version used for implementation handoff — don't let developers build off the idealized one.

11. Exceptions are allowed

These are guidelines, not laws. Break one when there's a clear, user-centered reason — and say what that reason is, so the exception reads as a decision rather than an oversight.

Review checklist

  • Is the chart type familiar, or is there a specific reason not to be?
  • Is data ordered appropriately (sorted vs. chronological)?
  • Is the palette intentional, not auto-generated, and not the sole carrier of meaning?
  • Does the chart work without hovering?
  • Is the legend actually needed?
  • Are gridlines earning their place?
  • Does a trend line add information, and can it be toggled if optional?
  • Has this been checked against small, large, missing, zero, negative, and outlier data — not just the ideal sample?
  • Does it still hold up at mobile/narrow widths?

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.