reversa-especialista-d3

Generates standalone HTML data visualizations using D3.js v7 charts and layouts.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/RLuf/fzagent --skill reversa-especialista-d3-rluf
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: reversa-especialista-d3
Source: https://github.com/RLuf/fzagent/tree/main/.agents/skills/reversa-especialista-d3
Command: npx skills add https://github.com/RLuf/fzagent --skill reversa-especialista-d3-rluf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Creating interactive data visualizations from scratch requires deep knowledge of D3.js APIs, scales, and layout algorithms. This Skill generates complete, standalone HTML pages with D3.js v7 charts—force-directed graphs, hierarchical trees, sankeys, and treemaps—so you get working 2D visualizations of relationships and data without writing the boilerplate yourself. ## Core Features & Use Cases - Chart Type Selection: Analyzes whether your data is categorical, temporal, quantitative, or hierarchical and proposes the right visualization (bar, scatter, force-directed, sunburst, treemap, sankey). - Standalone HTML Output: Produces complete HTML/JavaScript files with SVG containers, accessible color scales, tooltips, and smooth transitions that open directly in a browser via file:// without CORS issues. - Reference-Grounded Code: Consults bundled D3 v7 references for core APIs, interactivity (zoom, drag, transitions), and complex layouts before generating code. - Use Case: Ask for a "dependency graph 2D" of your project's modules and receive a force-directed D3 visualization in a single HTML file with embedded JSON data. ## Quick Start Ask the agent to generate a force-directed dependency graph as a standalone HTML page from your JSON data.

Frequently Asked Questions about reversa-especialista-d3

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a force-directed graph with D3.js v7?▼

Use d3-force to run a physics simulation positioning nodes and links, then render them with SVG selections using the join pattern. This Skill generates the complete HTML including the simulation setup, scales, and drag behavior.

What D3.js chart type should I use for hierarchical data?▼

Hierarchical data works best with d3-hierarchy layouts such as treemaps, sunbursts, or circle packing. The Skill analyzes your data structure first and proposes the appropriate layout before generating code.

Does D3.js v7 work in standalone HTML files without a server?▼

Yes, when the D3 library is vendored locally via a script tag and data is embedded as JSON in the page. This avoids CORS errors that occur when using fetch() on local files opened via file://.

When should I use Canvas instead of SVG in D3 visualizations?▼

Use SVG for interactivity and smaller datasets, and switch to Canvas when rendering more than 5000 data points. Canvas handles massive datasets better but sacrifices element-level event handling.

Why does my D3 chart fail to load data from a local file?▼

Browsers block fetch() requests to local files due to CORS policy when pages open via file://. Embed data directly in the HTML as a JSON script tag or a global window variable instead.