skill-060
Create interactive data exploration tools using D3.js (v6), enabling users to filter and drill down into datasets for deeper insight.
- License 许可
- MIT
- 最近更新
- 2026-06-04
- Stars
- ★ 8
- Forks
- 2
01 前言 Front Matter
- name
- skill-060
- description
- Create interactive data exploration tools using D3.js (v6), enabling users to filter and drill down into datasets for deeper insight.
03 SKILL.md 正文
D3.js Interactive Data Exploration Skill
This skill allows you to build interactive dashboards and data exploration tools using D3.js. The goal is to facilitate user interaction with complex datasets, allowing them to filter, sort, and drill down into the data dynamically.
When to use
Activate this skill when the user asks for any of the following:
- "Create an interactive dashboard"
- "Enable filtering on my dataset"
- "Build a data exploration tool"
- "Allow users to drill down into data"
- "Visualize data with interactive features"
If the user requires static visualizations or reports, don’t use this skill—opt for the D3.js Visualization Skill instead.
Inputs you should expect
- One or more local data files:
*.csv,*.tsv,*.json - User interaction requirements:
- Filter options (fields, conditions)
- Sorting preferences
- Drill-down paths (hierarchical structure)
- Dimensions (width/height) for the dashboard
- Any labeling requirements (titles, descriptions)
- Output constraints:
- Interactivity level (e.g., "requires dynamic filtering" or "no interaction needed")
If details are missing, make reasonable defaults and document them in comments near the top of the output file.
Outputs you should produce
Prefer producing all of the following when feasible:
dist/dashboard.html— standalone HTML that renders the interactive exploration tooldist/dashboard.js— JavaScript file containing the interactivity logic (modular and reusable)- (Optional)
dist/dashboard.css— if the task specifies custom styling for the dashboard
Always keep outputs in a predictable folder (default: dist/), unless the task specifies paths.
Interactivity guidelines (non-negotiable)
To ensure a smooth user experience:
Interaction rules
- Provide clear UI elements for filtering and sorting (e.g., dropdowns, sliders).
- Ensure that data updates dynamically based on user interactions without page refresh.
- Maintain consistent visual feedback (e.g., loading indicators when fetching new data).
Data loading considerations
- Use asynchronous data loading techniques (e.g.,
d3.json,d3.csv) to avoid blocking the UI. - Implement error handling to manage data loading failures gracefully.
Example Usage
<!DOCTYPE html>
<html>
<head>
<title>Interactive Data Dashboard</title>
<link rel="stylesheet" href="dist/dashboard.css">
<script src="https://d3js.org/d3.v6.min.js"></script>
<script src="dist/dashboard.js"></script>
</head>
<body>
<div id="dashboard">
<h1>Data Exploration Dashboard</h1>
<div id="filters"></div>
<svg id="visualization"></svg>
</div>
</body>
</html>
This example demonstrates the basic structure of an HTML file that uses the interactive data exploration tool. Adjust the #filters and #visualization elements based on your dataset and requirements.
04 同仓库更多 Skills
foo
A test skill named foo
bar
飞书 — bar with quoted Chinese
agentic-skill-router
First use any clearly matching enabled local/user Agent Skill. If none matches, prefer this router for skill-shaped requests involving a named tool, API, service, CLI, platform, file format, dataset, or domain workflow, including when a generic built-in skill such as browser, Chrome, or web search also seems applicable; use built-ins directly only when explicitly requested or when the task is primarily live browsing, logged-in page operation, clicking, screenshotting, or current webpage inspection. Also use directly to audit, slim, disable, restore, or route locally installed Agent Skills across supported hosts. Examples include Vercel, Netlify, Cloudflare, Render, Playwright, Sentry, Linear, GitHub, OpenAI APIs, PDF, DOCX, PPTX, and spreadsheets.
syn-video-trim
Skill for trimming and cutting clips in the context of video files. Use when the user's task is specifically about trimming and cutting clips.
syn-video-transcode
Skill for transcoding codecs and resolutions in the context of video files. Use when the user's task is specifically about transcoding codecs and resolutions.
syn-video-thumbnail
Skill for extracting thumbnails and frames in the context of video files. Use when the user's task is specifically about extracting thumbnails and frames.