Dataviz Precision logo

Dataviz Precision

Community
skthewimp
dataviz-precision

Decide how many significant digits to show for numbers in a chart or a table - axis ticks, data labels, and table cells. Use whenever numeric values are displayed and you must choose precision: how many digits on an axis, how many decimals on a bar label, how to round a column so it reads cleanly. Precision is keyed to the spread of the data (max minus min), not to individual values, and is expressed as significant digits, not decimal places; every value in a column or axis is rounded to one uniform place. Never fabricate precision the data cannot support and never round toward rounder-sounding numbers. Backed by the dataviz MCP tool recommend_precision.

Overview

Publisherskthewimp
Repositorykarthik-data-visualization-skill
Skill namedataviz-precision
Stars
49
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by skthewimp on GitHub. Read the source before you install it.

Installation

Install the Dataviz Precision AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-precision/codex
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skthewimp/karthik-data-visualization-skill.git /tmp/karthik-data-visualization-skill
mkdir -p .claude/skills
cp -r /tmp/karthik-data-visualization-skill/dataviz-precision/codex .claude/skills/dataviz-precision
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dataviz Precision in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dataviz Precision on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dataviz Precision is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Dataviz Precision

Own the significant-digits decision for numbers on a chart or in a table: axis ticks, data labels, and table cells. Do not choose the chart's form, its colours, or its prose - those belong to dataviz-selector, dataviz-color, and chart-explainer. This skill generalises the precision philosophy that also governs karthik-table-style; when formatting numbers anywhere, this is the authority.

The mechanical computation lives in the dataviz MCP: recommend_precision. Without the server, apply the formula below by hand.

The rule: precision is keyed to the spread, not the value

The question is never "how precise is this number" but "how precise must the reader be to tell these numbers apart". So precision is set by the range of the column or axis (max minus min), not by any single value.

Call recommend_precision(values, role) with the numbers that will be shown together (role = axis, label, or table_column). It computes:

  • the range max - min over the values that must be distinguished,
  • a single uniform rounding place for the whole set, from the formula place = floor(log10(range)) - (target_steps - 1) where target_steps (~2) is how many significant figures of the range the reader needs to just about resolve the information,
  • a formatted preview of every value rounded to that place.

Example: {12483, 9210, 15040} has a range of ~5830, so the place is hundreds and the column shows 12,500 / 9,200 / 15,000 - two significant figures of the spread, and no more.

If you know the smallest difference that actually matters (d), pass smallest_meaningful_difference=d; the place is then floor(log10(d)).

Each preview row also carries a compact form: the same place, written in the largest short-scale unit (K, M, B, T) the column supports. When the column is already scaled - "$MM", "in thousands" - pass unit_multiplier (1e6, 1e3) so the unit comes out right: [70398, 77264] in $MM reads 70.4B / 77.3B. Numbers written in words - the title, a subtitle, an annotation - use the compact form; axis ticks and table cells use whichever the column reads best in.

What this means in practice

  • Significant digits, not decimal places. The place cuts to the left of the decimal too: 12,483 becomes 12,500 or 12,000 when the spread is coarse. Large, widely spread values usually want fewer digits, not more.
  • Round every value in a column to the same place, so length reads as magnitude and decimal points align.
  • Don't show precision the data cannot support, and never manufacture it to fill space - precision is a data decision, not a layout one.
  • The source's own precision is a hard ceiling the spread rule can lower but never raise. Integer source values stay integers (44, 1, not 44.0, 1.0 - a trailing .0 asserts a tenths measurement never made). Take the finer of the two: the spread's place, capped at the source's decimal places. Still one uniform place per column - never 36 beside 43.0.
  • Never round toward rounder-sounding numbers - round to the place the spread dictates, not to whatever looks tidy.
  • No approximation glyphs on a value that is known exactly. A plotted datum you hold precisely is labelled as itself - 610, not ≈610 or ~610 or about 610. The ≈ asserts an uncertainty the data doesn't have, and it also breaks the redundant-axis check (a tick reader matches label text to the mark value, and ≈610 no longer reads as 610), so the value axis it should have retired stays on the chart. Reserve ≈/~ for a figure that is genuinely an estimate (a rounded external headline, a read-off from a source chart), never for a value from the data in hand.
  • A displayed 0 must mean the value is zero. When a value far smaller than the spread would round away at the column place, recommend_precision refines the place just enough to keep it one significant digit and returns zero_collapse_prevented: true. It never lets a nonzero value print as 0.

Precedence: the spread rule is the default; exact digits are the exception

By default, recommend_precision governs every displayed number. Source digits override it in exactly one case: identifiers or a genuine exact-lookup requirement - an account number, a code, a reference value the reader must read off verbatim. Call recommend_precision(values, role, exact=True) for those; it preserves every source digit and returns exact_override: true.

Printed source labels, integer measurements and the existence of a data label are not exact-lookup requirements. Identify the reader's task that needs verbatim digits; a magnitude/change comparison uses spread precision even when the source prints every digit. Keep underlying data exact and round only its display.

An exact override is never silent: whenever you leave the spread rule behind, record the reason - why this column is an identifier or exact lookup rather than a quantity to compare. If you can't name why, the spread rule stands. If an upstream decision already marked a column as identifier/exact-lookup, obey that mark and carry its reason forward - don't silently re-decide at build. Carrying the decision as an explicit flag with its reason (not re-inferred from prose) is what lets a weaker downstream model apply it reliably.

Labels are not measurements: temporal and ordinal axes

A value that names a position rather than a quantity to compare - a year (2000, not 2,000), a quarter, month number, rank, stage, or any sequence/ID used as a coordinate - is a label, not a measurement: no thousands separator, no spread rounding, no forced decimals (a year axis reads 1970 2000 2030, never 1,970 or 2000.0). This isn't the exact-lookup override (that preserves a quantity's digits); a coordinate is simply never a quantity the spread rule governs. recommend_precision is for the measured values plotted against these axes, not the axis positions. Same for such a value inside an annotation ("in 2000", not "in 2,000").

Charts and tables

The rule is the same for both. On a chart it sets axis-tick and data-label formatting; in a table it sets each numeric column's rounding and, with karthik-table-style, the decimal alignment and tabular figures. Apply recommend_precision per axis and per column - each has its own spread.

Frequently asked questions

What does the Dataviz Precision AI skill do?

Decide how many significant digits to show for numbers in a chart or a table - axis ticks, data labels, and table cells. Use whenever numeric values are displayed and you must choose precision: how many digits on an axis, how many decimals on a bar label, how to round a column so it reads cleanly. Precision is keyed to the spread of the data (max minus min), not to individual values, and is expressed as significant digits, not decimal places; every value in a column or axis is rounded to one uniform place. Never fabricate precision the data cannot support and never round toward rounder-soun...

Why use Dataviz Precision on TypingMind?

Because you install it once and use it with any model. Dataviz Precision is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dataviz Precision in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-precision/codex. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dataviz Precision?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dataviz Precision?

As many as you like. As long as a model supports skills, you can use Dataviz Precision with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dataviz Precision AI skill free?

Yes. It is published on GitHub by skthewimp under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇