preview-d3
Installation
SKILL.md
Preview D3 Skill
Interactive D3.js visualization viewer that renders custom data visualizations with built-in zoom, pan, and export capabilities.
Agent Usage
When the user asks to create a D3 visualization, write the D3 code and pipe it to the script. Use the Bash tool to execute this skill's run.sh script:
# Pipe D3 code
cat visualization.js | ./run.sh
# Or from a file
./run.sh chart.d3
The script handles all HTML generation and automatically opens the result in the browser. Do NOT open the file manually to avoid duplicate tabs.