agentleFS
cumabozkurtcumabozkurt/god-of-design/skills/god-dataviz/SKILL.md

god-dataviz

Skill0 starsChanged 2 months agoMITView on GitHub

Data visualization and information design - choosing the right chart, dashboards, infographics, color for data (sequential, diverging, categorical, color-blind safe), labeling and annotation, chart decluttering, tables, maps, and implementation with SVG, D3, Chart.js, Recharts, Vega-Lite or ECharts. Use when presenting numbers, building charts or dashboards, or designing infographics and reports.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    The one message: Write the takeaway as a sentence.

    line 15
  2. Distinctive:

    Declutter: remove chart borders, heavy gridlines (keep light horizontal ones), 3D, shadows and legends (label lines directly).

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

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

God Data Viz

Procedure

  1. The one message. Write the takeaway as a sentence. It becomes the chart title.
  2. Pick the chart by the question:
QuestionChart
Compare categoriesHorizontal bar (sorted); dot plot
Change over timeLine (≤ 5 series); area for totals; column for few periods
Part-to-wholeStacked bar / 100% bar; donut only for 2–4 parts; treemap for many
DistributionHistogram, box/violin, beeswarm
RelationshipScatter (+ trend line), bubble (careful)
Ranking over timeBump chart, slope chart
GeographyChoropleth (normalise per capita!), proportional symbols
FlowSankey, alluvial
Single KPIBig number + delta + sparkline
Precise lookupTable (with conditional formatting)
  1. Declutter: remove chart borders, heavy gridlines (keep light horizontal ones), 3D, shadows and legends (label lines directly). Start bar axes at zero. Use tabular numerals, sensible rounding, and units in labels.
  2. Highlight: grey for context, accent colour for the story. Annotate the key point ("Launch → +32%").
  3. Colour scales: sequential (one hue, light→dark: viridis, cividis, or blues), diverging (two hues around a meaningful midpoint, e.g. #2166AC → #F7F7F7 → #B2182B), categorical (≤ 7 distinct; Okabe–Ito set for colour-blind safety). Don't encode with red vs green alone.
  4. Accessibility: text alternative (a summary + key numbers), data table toggle, patterns or direct labels in addition to colour, keyboard focus for interactive charts, ≥ 3:1 contrast for marks against the background.

Dashboard rules

  • Top row: 3–5 KPIs with comparison (vs last period / target) and trend.
  • Middle: primary trend chart. Bottom: breakdowns and tables.
  • Consistent time ranges and units; filters at the top; last-updated timestamp.
  • Density: 8pt grid, 12–14px labels, avoid more than ~9 charts per view.

Infographic structure

Title (the takeaway) → hook stat → 3–5 sections in reading order (top→bottom for 2:3 vertical, left→right for 16:9) → sources and date → brand. Use icons from one family (Lucide, Phosphor, Material Symbols, Tabler). Pinterest/IG vertical infographics: 1000×1500 or 1080×1350 frames.

Code snippets

  • Vega-Lite (fast, declarative): { "mark": "bar", "encoding": { "y": {"field":"country","sort":"-x"}, "x": {"field":"value","type":"quantitative"} } }
  • Recharts (React): <BarChart layout="vertical">… with <LabelList> for direct labels.
  • Chart.js: set plugins.legend.display=false and use the datalabels plugin for direct labelling.
  • D3/SVG for bespoke editorial charts: build scales (d3.scaleLinear), axes with few ticks, <title> and aria-label on the SVG.
  • ECharts for large interactive dashboards and maps.

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.