data_visualization

data_visualization is a skill for Claude Code, Codex from deeleeramone/PyWry. It costs 0 tokens per session (2,034 once invoked), scanned A, original, Apache-2.0.

A guide to displaying data as charts, tables, and live visual widgets with PyWry and Plotly. Plotly is a Python library for creating interactive charts.

In plain words
What is it for?
Use it to create line or bar charts, show them as widgets, update their data or layout, and configure different styles for light and dark themes.
Why use it?
It gives a consistent way to create and update charts without rebuilding an entire widget for every visual change. It also explains how charts can follow light and dark interface themes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create line or bar charts, show them as widgets, update their data or layout, and configure different styles for light and dark themes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deeleeramone/pywry/data_visualization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add deeleeramone/PyWry --skill data_visualization
Clone the repo
git clone --depth 1 https://github.com/deeleeramone/PyWry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for data_visualization

README.md
[![agentmods](https://agentmods.dev/badge/skills/deeleeramone/pywry/data_visualization/github.svg)](https://agentmods.dev/skills/deeleeramone/pywry/data_visualization)
Your own site
<a href="https://agentmods.dev/skills/deeleeramone/pywry/data_visualization"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/data_visualization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for data_visualization

Your own site · 80×15
<a href="https://agentmods.dev/skills/deeleeramone/pywry/data_visualization"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/data_visualization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,034 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02034
Opus 5.5 $0.00000 $0.00814
Sonnet 5.5 $0.00000 $0.00407
Haiku 4.5 $0.00000 $0.00203

Measured 1mo ago against content hash d1759181c824, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data_visualization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pywry/pywry/mcp/skills/data_visualization/SKILL.md · 283 lines

How it starts

The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data Visualization

Best practices for creating charts, tables, and live data displays.

Plotly Charts

Creating a Chart

import plotly.express as px

# Create figure
df = pd.DataFrame({"x": [1, 2, 3], "y": [4, 5, 6]})
fig = px.line(df, x="x", y="y", title="My Chart")

# Show as widget
show_plotly(figure_json=fig.to_json(), title="Line Chart")

Updating a Chart

# Full update
new_fig = px.bar(df, x="category", y="value")
update_plotly(widget_id, figure_json=new_fig.to_json())

# Layout-only update (faster - doesn't re-render data)
layout_update = {"title": {"text": "Updated Title"}}
update_plotly(widget_id, figure_json=json.dumps({"layout": layout_update}), layout_only=True)

Theme Consistency

PyWry automatically switches Plotly charts between plotly_dark and plotly_white templates when the theme toggles. To customize per-theme styles while preserving automatic switching, use template_dark and template_light on PlotlyConfig:

from pywry import PlotlyConfig

config = PlotlyConfig(
    template_dark={"layout": {"paper_bgcolor": "#1a1a2e", "plot_bgcolor": "#16213e"}},
    template_light={"layout": {"paper_bgcolor": "#ffffff", "plot_bgcolor": "#f0f0f0"}},
)

show_plotly(figure_json=fig.to_json(), title="Themed Chart", config=config)

User values are deep-merged on top of the built-in base template — your overrides always win, and anything you don't set is inherited from the base.

Chart Sizing

# Let chart fill container
fig.update_layout(
    autosize=True,
    margin=dict(l=40, r=40, t=50, b=40),
)

# Or set explicit size
fig.update_layout(
    width=600,
    height=400,
)

AG Grid Tables

Creating a Table

import json

# Data as list of dicts
data = [
    {"name": "Alice", "age": 30, "city": "NYC"},
    {"name": "Bob", "age": 25, "city": "LA"},
]

# Show as AG Grid widget
show_dataframe(data_json=json.dumps(data), title="Users")

Theme Consistency

# AG Grid themes
# - ag-theme-quartz-dark (dark mode)
# - ag-theme-quartz (light mode)
# Widget auto-applies based on current theme

Read the full file on GitHub · 283 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 283 lines · 0 tokens per session scan A d1759181c824

Subscribe to this mod's changes

data_visualization is a skill published in the GitHub repository deeleeramone/PyWry (98 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,034 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ai-water-front

Use when building a Vue 3 smart-water map dashboard demo that pairs OpenLayers with a Dify AI chat assistant — natural-language queries rendered as GeoJSON highlights, GeoServer REST layer management, streaming SSE replies, and resizable panels. Stack: Vue 3.3 + Vite 4 + ol 8 + axios, dev proxy carrying Basic auth to…

znlgis/opengis-skills · 80 tokens

aar-public-runtime

Operate OAuth-authenticated, tenant-isolated AAR structured workspaces and caller-delegated RLM jobs through the curated public MCP tools. Use when a user wants bounded JSON-compatible state to persist across ChatGPT or Codex tasks, or wants AAR to coordinate one or more exact model calls while the current host…

phenomenoner/adaptive-agent-harness · 96 tokens

ml-rigor

Enforces baseline comparisons, cross-validation, interpretation, and leakage prevention for ML pipelines.

Yeachan-Heo/My-Jogyo · 20 tokens

analyze

Full agentic analysis pipeline — ingest, clean, analyze, visualize, report, and dashboard from any data.

OpenAnalystInc/10x-analyst · 24 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens