AGENT SKILL

run2_d3-interactive-table

Improving interaction between D3 charts and HTML tables with selection events.

License 许可
MIT
最近更新
2026-10-02
Stars
★ 93
Forks
8

01 前言 Front Matter

name
run2_d3-interactive-table
description
Improving interaction between D3 charts and HTML tables with selection events.

03 SKILL.md 正文

Advanced Interaction Linking

Synchronize table and chart selection using a centralized state or event listener:

// Add event listener to rows
rows.on("mouseover", (event, d) => {
    d3.select("#" + d.ticker).classed("hovered", true);
    d3.selectAll("circle").filter(c => c.ticker === d.ticker).attr("stroke", "orange");
});

04 同仓库更多 Skills