testing-data-visualizations
FreeNo executable scriptsNot checkedTest data visualizations and dashboards. Use when the user needs chart or diagram test strategy, screenshot or image diff testing, visual regression, mocked…
by openai★ 8,494 GitHub starsAbout this skill
Testing Data Visualizations
Overview
Use this skill when the main question is how to verify a visualization, not just how to render one. Testing charts means protecting analytical truth, interaction behavior, rendering stability, and product integration without turning every pixel into a brittle contract.
Default assumption: use the smallest test mix that catches wrong numbers, broken interactions, and obvious visual regressions. Favor deterministic fixtures and targeted image baselines over giant snapshot suites.
Choose This Skill When
- the user asks how to test a chart, dashboard, or visualization component
- screenshot testing, image diffing, or visual regression is the main concern
- the user needs help deciding what to mock and where to mock it
- the question is about unit versus component versus E2E coverage
- a live dashboard, export flow, or embedded chart needs QA strategy
- the user wants help trimming a brittle or overgrown chart test suite
Working Pattern
- Identify the highest-risk failures:
- wrong transforms, aggregation, binning, stacking, or sorting
- wrong scale domain, legend mapping, or annotation placement
- broken hover, focus, selection, brush, or cross-filter behavior
- mobile layouts that put controls or prose before the main visualization, hide the chart behind settings, or fail to return to the chart after Apply, Cancel, Reset, or close
- touch interactions with tiny hit targets, hover-only values, missing drag alternatives, scroll hijacking, or broken pinch/zoom ownership
- on-screen keyboard and visual viewport regressions that cover the main evidence or the only critical action
- operational workspace regressions where outline trees, filters, selected marks, central viewport, URL state, and inspectors fall out of sync
- mobile capability regressions where AR, camera, motion, vibration, notification, or geolocation prompts appear too early, lack fallbacks, or become required without user approval
- spotty-connection regressions where live visualizations blank out, lose stale indicators, mislabel partial data, or fail to reconnect gracefully
- wheel-zoom, pinch, or drag interactions that also scroll the page or leak scroll chaining to the document
- clipping, overlap, layout drift, or export mismatch
- project changes or implementation code that began before the user approved a required generated design concept
- Codex image-generated concepts whose implementation preserves only the vibe or pixels but loses the claim, source context, caveat, evidence hierarchy, layout contract, or interaction staging
- generated asset crop, overlay alignment, or label-safe region regressions
- Canvas or WebGL render readiness, context loss, blank frames, high-DPI scaling, and overlay alignment
- WebGL fallback duplication where a fallback remains visible behind or above the primary scene
- globe, map, terrain, or cutaway coordinate-frame regressions where markers, labels, textures, hit testing, and camera focus no longer align
- interaction state-machine regressions where hover, selection, expansion, pause/resume, drag, wheel, reset, close, or idle behavior changes meaning
- animated story states whose first frame, key frames, or final frame no longer communicate the claim
- scrollytelling or parallax states that desynchronize text, data layers, media, trigger ranges, or reduced-motion fallbacks
- composite reports, decks, or stories where embedded visual layers bypassed specialist mini-briefs and became generic chart cards
- UML-like or software architecture diagrams with stale generated source, invalid relationships, broken import/export, layout overlap, lost source IDs, or round-trip drift
- fictional or synthetic story simulations whose seeded data no longer supports the editorial claim, route ranking, event timing, or derived comparisons
- stale, empty, partial, loading, or failure state regressions
- Choose the lightest effective layer:
- unit tests for pure data shaping and formatting logic
- component tests for public chart contracts and interaction callbacks
- visual regression for layout-sensitive and appearance-sensitive states
- E2E tests for real user workflows, async data behavior, and export paths
- Make rendering deterministic before asserting:
- fixed viewport and container size
- stable fonts, theme tokens, locale, and timezone
- reduced or disabled animation
- reduced-motion and final-state fixtures for animated stories
- deterministic scroll position, viewport size, scene id, progress value, and media readiness for scrollytelling stories
- deterministic WebGL camera, clock, particle seed, device pixel ratio, and quality settings
- seeded or fixture-backed data
- fixed generated asset fixtures or checked-in placeholders instead of live generation inside tests
- approved large-screen and mobile concept screenshots or references plus a semantic desi
Install testing-data-visualizations in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the testing-data-visualizations skill do?
Test data visualizations and dashboards. Use when the user needs chart or diagram test strategy, screenshot or image diff testing, visual regression, mocked or synthetic chart data, component or unit tests, E2E dashboard QA, interactive UML-like diagram verification, scroll-driven story verification, export verification, or guidance on avoiding brittle over-testing.
How do I install the testing-data-visualizations skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the testing-data-visualizations skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic