Logo Chart Clarity

Chart Clarity

Cộng đồng
Mathews-Tom
chart-clarity

Tạo, đánh giá và định dạng lại các hình ảnh trực quan hóa dữ liệu theo nguyên tắc của Edward Tufte: tỷ lệ mực dữ liệu cao, nhãn trực tiếp, trục có khung giới hạn, biểu đồ nhỏ đặt cạnh nhau, màu sắc dễ tiếp cận, biểu đồ thích ứng và so sánh trung thực. Kích hoạt khi có yêu cầu: "create a chart", "style this chart", "review this graph", "Tufte chart", "data visualization", "Recharts", "Plotly", "matplotlib", "Chart.js", "ECharts", "D3". Dùng khi tạo hoặc đánh giá biểu đồ, dashboard, sparkline và bảng dữ liệu.

Add to TypingMind

Tổng quan

Nhà phát hànhMathews-Tom
Kho mãarmory
Tên kỹ năngchart-clarity
Sao
318
Bản fork
47
Tệp đi kèm
31
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 31 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Mathews-Tom công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Chart Clarity trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Mathews-Tom/armory/tree/main/skills/chart-clarity
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mathews-Tom/armory.git /tmp/armory
mkdir -p .claude/skills
cp -r /tmp/armory/skills/chart-clarity .claude/skills/chart-clarity
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Chart Clarity trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Chart Clarity ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Chart Clarity với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Chart Clarity

Create and critique charts that make quantitative comparisons obvious without decorative chartjunk. This skill adapts Caylent's MIT-licensed tufte-data-viz skill into armory under the broader chart-clarity name. It applies Edward Tufte's core data visualization principles and adds screen-first requirements for accessibility, responsiveness, dark mode, progressive disclosure, and human-readable numbers.

Use this skill whenever the user asks for a chart, graph, plot, dashboard visualization, sparkline, slopegraph, data table, or visualization review. It covers Recharts, ECharts, Chart.js, matplotlib, Plotly, seaborn, D3.js, SVG, and HTML.

When to Use

User needUse chart-clarityUse instead
Generate chart code in Recharts, Plotly, matplotlib, Chart.js, ECharts, D3, SVG, or HTMLYes—
Review an existing chart for misleading design, clutter, accessibility, or readabilityYes—
Restyle dashboard charts while keeping the dashboard structure unchangedYesux-expert for broader dashboard UX
Build a static infographic or rich HTML artifact around chartsNostatic-web-artifacts-builder
Design a slide deck or presentation using chartsNohtml-presentation, marp-slides, or pptx
Design logos, posters, icons, or non-data visualsNoconcept-to-image or canvas-design

Trigger Families

  • Chart creation: "create a chart", "plot this data", "make a graph", "build a sparkline", "generate a slopegraph".
  • Chart review: "review this visualization", "what is wrong with this graph", "make this chart clearer", "remove chartjunk".
  • Tufte-specific: "Tufte chart", "high data-ink ratio", "range-frame axes", "small multiples", "direct labels".
  • Library-specific: "Recharts", "ECharts", "Chart.js", "matplotlib", "seaborn", "Plotly", "D3", "SVG chart".

Workflow

Follow this order for every chart task.

  1. Identify the message. Determine the finding the chart needs to make visible. A useful title states the finding: "Revenue Beat Target by 24% in Q2", not "Revenue by Month".
  2. Identify comparison context. Add a baseline, prior period, target, average, peer group, or distribution. A number without comparison context is weak evidence.
  3. Choose the chart type. Use the data shape to select line, horizontal bar, scatter, small multiple, sparkline, slopegraph, heatmap, or table. Refuse pie charts by default; use sorted horizontal bars unless the user explicitly asks for a pie chart.
  4. Apply the universal rules. Remove decorative ink, direct-label series, use gray-first color, annotate notable features, format numbers for humans, and ensure the chart earns its space.
  5. Read one library reference. For implementation code, read exactly one matching library file from references/rules/ unless the task compares multiple libraries.
  6. Validate before presenting. Run the checklist at the end of this file against the final chart or review output.

Universal Rules

  1. Remove top and right borders, spines, frames, and plot boxes.
  2. Use direct labels instead of legends. Remove legend components unless the user explicitly requires one.
  3. Remove gridlines by default. If precision reading requires gridlines, use horizontal-only rules at 8-12% opacity.
  4. Use range-frame axes where the axis spans the data range rather than arbitrary empty space.
  5. Use two-dimensional marks only. No 3D, shadows, bevels, gradients, or perspective effects.
  6. Avoid pie charts. If explicitly requested, use no more than four slices, direct percentage labels, and 2D rendering only.
  7. Aim for an aspect ratio near 1.5:1 for ordinary charts. Sparklines and small multiples are exceptions.
  8. Start with gray data marks and one accent color for the key point, line, or series. Use no more than four distinct colors.
  9. Use off-white light backgrounds (#fffff8) and intentional dark backgrounds (#151515). Avoid pure white and pure black.
  10. Use serif fonts for titles, labels, annotations, and data values. Small axis ticks can use system sans-serif.
  11. Do not use dual y-axes. Use small multiples with shared x-axis or shared scales.
  12. Annotate peaks, troughs, inflection points, event boundaries, and outliers directly on the chart.
  13. Show comparison context with a reference line, target, prior-period series, shaded band, or peer group.
  14. Keep tooltips plain: label, value, unit, and minimal context. No shadows, arrows, decorative panels, or color blocks.
  15. Use progressive disclosure. Keep the overview clean and reveal details through hover, focus, tap, or click.
  16. Make charts accessible: 3:1 contrast for chart elements, 4.5:1 for text, text alternatives, keyboard access, and no color-only encoding.
  17. Make charts responsive by changing layout, tick density, or chart type across viewport widths. Do not merely shrink dense desktop charts.
  18. Animate data transformations only. Respect prefers-reduced-motion.
  19. Treat dark mode as a separate palette. Never invert colors mechanically.
  20. Make titles assert findings, not describe axes.
  21. Format numbers for humans: $1.2M, 12,450, consistent precision, units stated once.
  22. Do not chart one or two numbers. Use a sentence or table when that communicates more clearly.

Library Quick Reference

Read one matching reference file for concrete implementation details:

LibraryReferenceEssential defaults
Rechartsreferences/rules/recharts.mdHide grid, remove <Legend />, direct labels, no top/right axes, minimal tooltip
EChartsreferences/rules/echarts.mdsplitLine.show: false, legend.show: false, grid.show: false, endLabel
Chart.jsreferences/rules/chartjs.mdgrid.display: false, plugins.legend.display: false, direct labels plugin
matplotlib/seabornreferences/rules/matplotlib.mdHide top/right spines, set spine bounds, serif fonts, off-white figure background
Plotlyreferences/rules/plotly.mdshowgrid=False, showlegend=False, plot_bgcolor='#fffff8', zeroline=False
D3/SVG/HTMLreferences/rules/svg-html.mdMinimal domains, no plot backgrounds, direct SVG text labels, accessible roles

Cross-cutting references:

TopicReference
Anti-pattern detection and one-line fixesreferences/rules/anti-patterns.md
Accessibility, responsiveness, animation, dark modereferences/rules/interactive-and-accessible.md
Full palettes, font stacks, numeric typographyreferences/rules/typography-and-color.md
Small multiples, sparklines, slopegraphsreferences/rules/small-multiples-sparklines.md
Working examplesreferences/examples/
Interactive before/after demo, CDN-backed and reference-onlyreferences/interactive-demo.html
Upstream license and provenancereferences/upstream/

Chart Type Guidance

TypeDefault treatment
Line1.5-2px stroke, no dots unless fewer than seven points, direct label at endpoint, annotate notable events
BarPrefer horizontal bars for categories, sort descending, label values directly, use gray with one accent
ScatterSmall gray dots, highlight key cluster or outlier, add regression line only when analytically justified
Time seriesLabel events on the chart, compare against target or prior period, avoid dual axes
Small multiplesSame scale across panels, shared labels, no panel borders, direct panel titles
SparklineWord-sized, no axes or labels, min/max dots, endpoint value when useful
TableWhitespace and thin rules, right-aligned numbers, no zebra striping, highlight meaningful outlier only
SlopegraphBefore/after endpoints labeled with names and values, gray slopes plus one highlight
HeatmapSequential or diverging palette, cell values where readable, companion table for accessibility

Review Checklist

Before presenting code or critique, verify:

  • No top or right border/spine/frame.
  • No legend where direct labels work.
  • Gridlines are absent or horizontal-only at opacity no greater than 0.12.
  • Aspect ratio fits the data and target viewport.
  • Background uses #fffff8 or an intentional dark palette, not pure white or black.
  • Data labels and titles use a serif font stack.
  • Default series color is gray; accent color is selective.
  • No 3D, decorative gradients, shadows, gauges, or chartjunk.
  • No dual y-axis.
  • The chart includes comparison context.
  • The most important peak, trough, outlier, event, or inflection point is annotated.
  • Tooltips are plain and accessible.
  • Hover details have tap or focus alternatives.
  • Text alternatives exist through aria-label, nearby summary text, or data table.
  • Colors meet contrast requirements and are not the sole encoding.
  • Animation is purposeful and respects reduced motion.
  • The chart remains usable at narrow and wide viewports.
  • The title states a finding.
  • Numbers use readable units and consistent precision.
  • The chart is warranted; a sentence or table would not communicate better.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Chart Clarity làm được gì?

Tạo, đánh giá và định dạng lại các hình ảnh trực quan hóa dữ liệu theo nguyên tắc của Edward Tufte: tỷ lệ mực dữ liệu cao, nhãn trực tiếp, trục có khung giới hạn, biểu đồ nhỏ đặt cạnh nhau, màu sắc dễ tiếp cận, biểu đồ thích ứng và so sánh trung thực. Kích hoạt khi có yêu cầu: "create a chart", "style this chart", "review this graph", "Tufte chart", "data visualization", "Recharts", "Plotly", "matplotlib", "Chart.js", "ECharts", "D3". Dùng khi tạo hoặc đánh giá biểu đồ, dashboard, sparkline và bảng dữ liệu.

Vì sao nên dùng Chart Clarity trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Chart Clarity là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Chart Clarity trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Mathews-Tom/armory/tree/main/skills/chart-clarity. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Chart Clarity?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Chart Clarity với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Chart Clarity với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Chart Clarity có miễn phí không?

Có. Kỹ năng này được Mathews-Tom phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇