agentsclimarketplace

D3 table rendering

Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-gemini-3.1-flash-lite-preview/stock-data-visualization/d3-table-rendering

Creating data-driven HTML tables using D3.js.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill d3-table-rendering

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.7 KB, 165 tokens by cl100k_base, as published. Nobody here has run it

D3 Data Table Rendering

Use d3-selection to create rows and cells from JSON data.

Implementation Pattern

const table = d3.select("#table-container").append("table");
const thead = table.append("thead");
const tbody = table.append("tbody");

// Append columns
thead.append("tr").selectAll("th")
  .data(columns).enter().append("th").text(d => d);

// Create rows
const rows = tbody.selectAll("tr")
  .data(data).enter().append("tr")
  .on("click", (event, d) => highlightBubble(d.ticker));

// Populate cells
rows.selectAll("td")
  .data(d => columns.map(col => d[col]))
  .enter().append("td").text(d => d);

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.