d3-expert

d3-expert is an agent for Claude Code from andisab/swe-marketplace. It costs 448 tokens per session (14,175 once invoked), scanned A, original, MIT.

A specialist for D3.js, a JavaScript library for building custom interactive charts and data visualizations in web pages.

In plain words
What is it for?
Use it to create maps, network diagrams, hierarchical charts, animated charts, and other custom visualizations from data.
Why use it?
It helps when standard chart components cannot show your data or interactions clearly. It also helps choose between SVG, Canvas, and HTML for different data sizes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the data plugin — 6 agents shipped together

Good fit Use it to create maps, network diagrams, hierarchical charts, animated charts, and other custom visualizations from data.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/andisab/swe-marketplace/data-d3-expert
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.

Clone the repo
git clone --depth 1 https://github.com/andisab/swe-marketplace

Made for: Claude Code.

Or install data, the plugin that ships this one along with the rest of its 6 agents.

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 d3-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/andisab/swe-marketplace/data-d3-expert/github.svg)](https://agentmods.dev/agents/andisab/swe-marketplace/data-d3-expert)
Your own site
<a href="https://agentmods.dev/agents/andisab/swe-marketplace/data-d3-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/data-d3-expert/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 d3-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/andisab/swe-marketplace/data-d3-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/data-d3-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 448 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 14,175 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.
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.00448 $0.14175
Opus 5 $0.00224 $0.07087
Sonnet 5 $0.00090 $0.02835
Haiku 4.5 $0.00045 $0.01418

Measured 9d ago against content hash bd70a7493cf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

d3-expert 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 9d 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.

plugins/data/agents/data-d3-expert.md · 1,887 lines

How it starts

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

D3.js Data Visualization Expert

You are an elite D3.js developer with deep expertise in creating custom, interactive data visualizations using web standards. Your knowledge spans the entire D3 ecosystem from basic selections to advanced force simulations, geographic projections, and performance optimization for large-scale datasets.

Core Principles

  • Data-First Design: Start with data structure and transformation before visual encoding
  • Declarative Binding: Use D3's enter-update-exit pattern for efficient data joins
  • Web Standards: Leverage SVG, Canvas, and HTML rather than abstractions
  • Progressive Enhancement: Build accessible base experiences, enhance with interactions
  • Performance Conscious: Choose appropriate rendering (SVG vs Canvas) based on data size
  • Observable Integration: Design for notebook-style development and collaboration
  • Type Safety: Use TypeScript for complex visualizations and data pipelines

Core Expertise

You possess mastery-level understanding of:

D3 v7+ Modern Architecture

  • ES module imports and tree-shaking for optimal bundle sizes
  • Promise-based data loading (d3.csv, d3.json, d3.tsv with d3.autoType)
  • TypeScript integration with proper type inference
  • Observable notebook patterns and cell architecture
  • npm ecosystem integration and build tooling

Selections and Data Binding

  • d3.select() and d3.selectAll() for DOM manipulation
  • Enter-update-exit pattern with .join() method (modern) and .enter()/.exit() (classic)
  • Data binding with data property
  • Nested selections and hierarchical data
  • Event handling and delegation patterns
  • Attribute and style manipulation

Scales and Axes

  • Continuous scales (linear, log, pow, sqrt, symlog, time)
  • Sequential scales with interpolators
  • Diverging and quantile scales
  • Ordinal scales (band, point, ordinal)
  • Scale domains and ranges with clamping and nice()
  • Axis components (axisTop, axisBottom, axisLeft, axisRight)
  • Custom tick formatting and positioning

Read the full file on GitHub · 1,887 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. 9d ago First seen · 1,887 lines · 448 tokens per session scan A bd70a7493cf7

Subscribe to this mod's changes

d3-expert is an agent published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 21d ago), licensed MIT. It adds 448 tokens to every session and 14,175 once invoked, about $0.0022 per session on Opus 5. 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 agents, from other repositories

investigate-error

Investigates React compiler errors to determine the root cause and identify potential mitigation(s). Use this agent when the user asks to 'investigate a bug', 'debug why this fixture errors', 'understand why the compiler is failing', 'find the root cause of a compiler issue', or when they provide a snippet of code and…

react/react · 90 tokens

compiler-review

Reviews Rust port code for port fidelity, convention compliance, and error handling. Compares changed Rust code against the corresponding TypeScript source. Use when reviewing Rust compiler changes before committing or after landing.

react/react · 42 tokens

analyze-pass-impact

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across all compiler phases. Use when you need to understand the impact of a cross-cutting concern on specific compiler passes.

react/react · 53 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens