MCPInstall

data-viz

Design or improve data visualizations, charts, and data presentation interfaces. Use when the user asks to add charts, build dashboards, visualize data, choose chart types, make data accessible, or present metrics and analytics.

Installs
571
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aladicf/better-web-ui --skill data-viz
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads data-viz automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Create data visualizations that clarify rather than decorate. The goal is not to make data look impressive; it is to help users understand patterns, compare values, and make decisions.

Consult the data visualization reference for chart type selection, responsive patterns, accessible data tables, color-vision-friendly palettes, and interaction design. Consult the colorblindness UX reference when semantic states, chart palettes, or category colors must remain distinguishable under color-vision deficiencies. Consult the complex table UX reference when a data table is a better or complementary presentation to a chart.

MANDATORY PREPARATION

Users start this workflow with /data-viz. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first. Additionally gather: what question the user is trying to answer with the data, who the audience is, and whether the data updates in real time or is static.

Assess Visualization Needs

Understand the data story before choosing a chart:

  1. What is the user trying to understand?

    • Comparisons across categories (bar chart)
    • Trends over time (line chart)
    • Part-to-whole relationships (stacked bar or treemap, rarely pie)
    • Distributions or ranges (histogram, box plot, scatter plot)
    • Hierarchical structures (treemap, sunburst)
  2. What is the data shape?

    • Number of data points (a few values vs. thousands)
    • Number of series or categories (single series vs. multi-series)
    • Time granularity (daily, monthly, yearly)
    • Whether the data is continuous or categorical
  3. What is the context?

    • Dashboard (at-a-glance summaries) vs. exploratory analysis (deep interaction)
    • Mobile-first vs. desktop-first audience
    • Real-time updates vs. static reports
    • Accessibility requirements (screen readers, color-vision deficiencies)

Visualization Dimensions

Chart Selection

Match the chart to the data relationship, not the aesthetic preference.

Bar charts for comparing values across categories. Use horizontal bars when category names are long. Start the value axis at zero.

Line charts for trends over time. Limit to ~5 lines. Label lines directly at the end when possible.

Scatter plots for relationships between two variables. Add trend lines only when correlation is real. Label interesting outliers.

Histograms for frequency distributions. Use when the shape of the data (clustering, spread, skew) matters.

Treemaps for hierarchical part-to-whole relationships with many categories.

Avoid pie charts except when there are very few categories and one slice clearly dominates. Even then, prefer donut charts or stacked bars.

Accessible Data Presentation

Every chart must have an accessible alternative.

  • Provide a text summary of the main insight before the visualization
  • Include a properly marked-up data table as a fallback (<caption>, <th scope="...">)
  • Associate the chart with its summary using aria-describedby
  • Ensure keyboard navigation between data points with audible value announcements
  • Do not rely on color alone; use pattern, texture, or direct labeling

Color Strategy

Use color intentionally in data visualization.

  • Sequential scales: Single hue varying in lightness for magnitude (density, volume)
  • Diverging scales: Two hues with a neutral midpoint for deviation from center (variance, profit/loss)
  • Categorical scales: Maximally distinct hues with consistent luminance for distinct groups
  • Avoid red-green combinations; use blue-orange or purple-yellow instead
  • Test palettes with color-vision simulators

Responsive Behavior

Charts must remain legible across viewport sizes.

  • Simplify legends and rotate labels on medium layouts
  • Consider switching chart types on narrow layouts (horizontal bars instead of vertical)
  • Use interaction to compensate: pinch-to-zoom, tap for exact values, summary views by default
  • Test truncation and wrapping behavior at minimum widths

Interaction Design

  • Click or tap legend items to toggle series visibility
  • Hover or focus to highlight a series and dim others
  • Brush or drag to select time ranges for zooming
  • Click a data point to reveal detail in a panel or adjacent view
  • Provide a "reset view" option after filtering or zooming
  • Update real-time charts without full re-renders; animate only changed elements

Dashboard Design

Dashboards combine multiple visualizations into an at-a-glance surface.

Layout principles:

  • Most important metrics at the top left (for left-to-right readers)
  • Group related charts visually with proximity and consistent sizing
  • Use consistent color coding across all charts for the same categories
  • Leave breathing room; dense dashboards overwhelm rather than inform

Interactivity:

  • Global filters (date range, category) should update all charts simultaneously
  • Clicking a chart element should update detail panels or related charts
  • Avoid auto-refreshing dashboards without clear indication; show "last updated" timestamp

Anti-Patterns

  • Chart junk: Decorative 3D, gradients, shadows, and unnecessary gridlines obscure data
  • Dual y-axes: They invite misleading comparisons. Use side-by-side charts instead
  • Truncated y-axes: Starting above zero exaggerates differences and is visually deceptive
  • Too many data series: Charts with 10+ lines become unreadable. Group, filter, or split
  • Pie charts with many slices: Human perception of angle is poor
  • Missing data without explanation: Gaps should be visually distinct from zero values
  • Color without pattern backup: Colorblind users cannot distinguish purely color-coded series
  • Animated charts without static fallback: Auto-playing animations frustrate users who need stable reference points
  • Tooltips as the only data source: Touch and motor-impaired users may struggle to trigger them
  • Charts without context: A number without comparison, baseline, or unit is meaningless

Verify Visualization Quality

Before shipping:

  • The chart type matches the data relationship being shown
  • The y-axis starts at zero for bar charts
  • Colors are distinguishable under color-vision deficiencies
  • An accessible data table is available as a fallback
  • A text summary of the main insight is provided
  • The chart is legible at narrow viewport widths
  • Interactive features work with keyboard and touch
  • Tooltips add precision, not just repetition
  • Real-time updates do not disorient users
  • The visualization answers a specific user question

FAQ

What does the data-viz skill do?

Design or improve data visualizations, charts, and data presentation interfaces. Use when the user asks to add charts, build dashboards, visualize data, choose chart types, make data accessible, or present metrics and analytics.

How do I install data-viz?

Run npx skills add https://github.com/aladicf/better-web-ui --skill data-viz in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/data-viz/ (personal) or .claude/skills/data-viz/ (project).

Which AI agents can use data-viz?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is data-viz safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains data-viz?

It is published by aladicf in aladicf/better-web-ui. It has 571 recorded installs.

More from aladicf/better-web-ui

View all →

critique

aladicf/better-web-ui

Evaluate an interface from a UX perspective, assessing hierarchy, information architecture, emotional resonance, cognitive load, and overall quality with quantitative scoring and actionable feedback. Use when the user wants an overall design or UX review—not when the main need is measurable accessibility/performance diagnosis, or final micro-detail polish.

Frontend & Design719 installs

frontend-design

aladicf/better-web-ui

Create distinctive, production-grade frontend interfaces with strong hierarchy, thoughtful systems, and polished implementation that avoid generic AI aesthetics. Use when the user wants to build or redesign web pages, flows, components, or full app surfaces, or when another better-web-ui skill needs shared project design context before other better-web-ui skills.

Frontend & Design680 installs

add-ui

aladicf/better-web-ui

Generate 5 distinct, production-grade UI variations for a requested new or existing section, component, page, flow, or shell, then help the user preview and apply one. Use when the user asks to add or redesign UI like a hero, pricing, navbar, auth flow, dashboard shell, ecommerce surface, or data component.

Frontend & Design640 installs

polish

aladicf/better-web-ui

Perform a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the work is functionally complete and needs finishing touches—not when the hierarchy, structure, tone, or technical foundation still need major changes.

Frontend & Design640 installs

audit

aladicf/better-web-ui

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants measurable accessibility, performance, responsive, theming, or anti-pattern findings—not when they mainly want an overall UX critique or final visual/detail polish.

Security639 installs

search

aladicf/better-web-ui

Design or improve search experiences, result presentation, and filtering interfaces. Use when the user asks to add search, redesign search results, improve findability, build autocomplete, add filters, or fix zero-results dead ends.

Frontend & Design638 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs