chart-chooser
Skill11 starsChanged 6 months agoMITView on GitHub
Selects the most appropriate chart type for a given dataset and analytical question, then produces a clean, honest, well-labeled visualization spec. Use this skill when a user asks "what chart should I use", "how should I visualize this data", "which graph fits", "make a chart for X", "is a pie chart right here", "how do I show change over time / comparison / distribution / correlation / part-to-whole", or when reviewing an existing chart for clarity and honesty. Covers chart-type decision-making, encoding choices (axis, color, size), labeling, axis-truncation ethics, accessibility, and avoiding misleading visuals.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- imtiazrayhan/agentscamp-librarytheir own version, first seen Aug 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- imtiazrayhan/agentscamp-library★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository74 other files it gives its agents.
- 0-templateSkill
- ab-test-analyzerSkill
- adr-authorSkill
- api-designerSkill
- api-docs-writerSkill
- aws-cost-optimizerSkill
- bash-script-hardeningSkill
- blog-post-writerSkill
- book-summarizerSkill
- changelog-keeperSkill
- code-reviewerSkill
- competitive-analysisSkill
- concept-explainerSkill
- cover-letter-writerSkill
- cron-schedulerSkill
- data-pipeline-architectSkill
- debug-detectiveSkill
- decision-matrixSkill
- dependency-upgraderSkill
- dockerfile-proSkill
- email-composerSkill
- error-handling-patternsSkill
- event-plannerSkill
- flashcard-generatorSkill
- gdpr-data-mapperSkill
- gift-advisorSkill
- github-actions-builderSkill
- git-workflowSkill
- habit-builderSkill
- incident-postmortemSkill
- interview-prepSkill
- job-description-writerSkill
- json-schema-authorSkill
- kubernetes-manifest-authorSkill
- language-tutorSkill
- meal-plan-builderSkill
- meeting-summarizerSkill
- mermaid-diagram-builderSkill
- nginx-config-proSkill
- observability-setupSkill
- okr-writerSkill
- pandas-data-cleaningSkill
- performance-profilerSkill
- personal-budget-plannerSkill
- presentation-builderSkill
- project-plannerSkill
- prompt-engineerSkill
- proofreaderSkill
- public-speaking-coachSkill
- rag-pipeline-designerSkill
- readme-generatorSkill
- refactoring-guideSkill
- regex-architectSkill
- release-notes-writerSkill
- resume-writerSkill
- salary-negotiatorSkill
- secrets-managerSkill
- secure-code-reviewSkill
- secure-password-policySkill
- security-auditorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use this skill whenever someone needs to decide *how* to show data, or wants an existing visual critiqued.
- Distinctive: line 21
Follow these steps in order.
- Very specific: line 33
Match intent + shape to a chart: Use the decision table in references/chart-decision-matrix.md.
- Very specific: line 35
Apply honesty + clarity rules: Run the checklist in references/clarity-and-honesty-checklist.md: axis baselines, sorting, direct labels, …
- Distinctive: line 37
Self-review: Verify the chart answers the original question in under 5 seconds and contains no misleading element.
- Distinctive: line 45
Part-to-whole, few parts (2-4), single total: consider a stacked bar; a pie is acceptable only with ≤4 slices and clear differences.
- Distinctive: line 49
Never use a second y-axis to imply correlation.
- Distinctive: line 59
Maximize data-ink: Remove chartjunk, heavy gridlines, 3D effects, and redundant decoration.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chart Chooser
Overview
This skill turns a dataset plus an analytical question into the right chart, and ensures the result is clean, accurate, and not misleading. It covers two jobs:
- Choose — map the question intent and data shape to a chart type.
- Polish — apply encoding, labeling, axis, color, and honesty rules so the chart reads correctly at a glance.
Keywords: data visualization, chart type, graph selection, bar chart, line chart, scatter plot, histogram, heatmap, pie chart, dashboard, axis truncation, misleading charts, color accessibility, data-ink, encoding.
Use this skill whenever someone needs to decide how to show data, or wants an existing visual critiqued.
Workflow
Follow these steps in order. Do not jump to a chart type before clarifying intent and data shape.
- Identify the question intent. Pick the dominant one (a chart should answer one question well):
- Comparison (which is bigger/smaller across categories)
- Trend / change over time
- Distribution (shape, spread, outliers of one variable)
- Relationship / correlation (two+ numeric variables)
- Part-to-whole (composition of a total)
- Ranking (ordered comparison)
- Geospatial (values across places)
- Flow / part-to-whole over stages
- Profile the data shape. Note for each variable: type (categorical / ordinal / quantitative / temporal / geographic), cardinality (number of distinct values), and whether values can be summed to a meaningful total (needed for part-to-whole).
- Match intent + shape to a chart. Use the decision table in
references/chart-decision-matrix.md. Resolve ties with the "pick the simplest that answers the question" rule. - Choose encodings. Assign data fields to position, length, color, and size using the accuracy ranking in Best Practices. Position/length beat color/area for quantitative accuracy.
- Apply honesty + clarity rules. Run the checklist in
references/clarity-and-honesty-checklist.md: axis baselines, sorting, direct labels, color accessibility, decluttering. - Produce the output. Either describe the spec (chart type, x, y, color, sort, annotations) or generate code. Use
scripts/suggest_chart.pyto get a programmatic recommendation from a quick data profile. - Self-review. Verify the chart answers the original question in under 5 seconds and contains no misleading element.
Quick Decision Cheats
- Over time, continuous: line chart (one or few series), area only when part-to-whole over time matters.
- Compare categories: bar chart (horizontal if labels are long or many). Sort by value unless order is inherent (time, age bands).
- Distribution of one number: histogram; box/violin to compare distributions across groups.
- Two numbers, relationship: scatter plot; add trend line only if a relationship is real and labeled.
- Part-to-whole, few parts (2-4), single total: consider a stacked bar; a pie is acceptable only with ≤4 slices and clear differences.
- Part-to-whole, many parts: sorted bar of the parts, not a pie.
- Two categorical dimensions + a value: heatmap.
- Ranking emphasis: sorted horizontal bar; lollipop to reduce ink.
- Never use a second y-axis to imply correlation; it can fabricate relationships.
Best Practices
- Encoding accuracy order (most to least precise): position on common scale → position on non-aligned scale → length → angle/slope → area → color saturation → color hue. Encode the most important quantity with the most accurate channel.
- Start bars at zero. Bar length encodes magnitude; a non-zero baseline lies. Line charts may use a non-zero baseline if change, not magnitude, is the point — label it clearly.
- Sort meaningfully. Sort categorical bars by value. Keep natural order for time, age, or other ordinals.
- Direct-label lines and important points instead of forcing legend lookups. Limit to ~5-7 series before a chart becomes spaghetti.
- One idea per chart. Split a busy chart into small multiples rather than overloading one canvas.
- Color with purpose. Categorical = distinct hues; sequential = single-hue ramp; diverging = two hues around a meaningful midpoint. Test for color-vision deficiency; never rely on red/green alone — add labels, shapes, or patterns.
- Maximize data-ink. Remove chartjunk, heavy gridlines, 3D effects, and redundant decoration.
- Title states the takeaway ("Revenue grew 30% in Q3"), not just the variable ("Revenue").
- Annotate context — reference lines, target, average, or events that explain the shape.
Common Pitfalls
- Pie chart with many or similar slices — humans compare angles poorly. Use a sorted bar.
- Truncated bar-chart y-axis exaggerating tiny differences.
- Dual y-axes implying a causal/correlated relationship that the scaling invented.
- 3D bars/pies that distort proportions.
- Rainbow/jet color ramps for sequential data (perceptually non-uniform and inaccessible).
- Too many categories or series, producing unreadable spaghetti.
- Unsorted bars when the question is "which is biggest".
- Using area/bubble size for precise comparison (area is hard to judge).
- Missing units, missing axis labels, or unlabeled aggregation (sum vs average).
- Connecting points with a line when the x-axis is categorical, not continuous.
Supporting Files
references/chart-decision-matrix.md— full intent × data-shape → chart-type matrix with notes and runners-up.references/clarity-and-honesty-checklist.md— pre-publish checklist for labeling, axes, color, accessibility, and avoiding deception.scripts/suggest_chart.py— stdlib Python tool: feed it a CSV (or a column profile) and the question intent; it recommends a chart type and encodings.examples/sales-by-region.md— worked example: messy request → chosen chart → clean spec → critique.
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
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.

