agentsclimarketplace

Run3 visualization logic implementation

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-gemini-3.1-flash-lite-preview/stock-data-visualization/run3_visualization_logic_implementation

[COLM'26] SkillLearnBench is the first benchmark for evaluating continual learning methods that automatically generate agent skills.

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_visualization_logic_implementation

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

What its author says it does

Copied from the file, not written here

Implements the D3.js force simulation, tooltips, and data interaction logic in visualization.js.

SKILL.md

1.0 KB, as published. Nobody here has run it

Implement visualization.js with the following structure:

  1. Wrap logic in document.addEventListener('DOMContentLoaded', async () => { ... });.
  2. Load data: Use d3.csv("./data/stock-descriptions.csv").
  3. Bubble Chart:
    • Define a d3.forceSimulation.
    • Use d3.forceX and d3.forceY grouped by sector name to create clusters.
    • Use d3.forceCollide based on bubble radius to prevent overlap.
    • Scale radius using d3.scaleSqrt for market cap (handle missing values for ETFs).
  4. Tooltips: Append a hidden div to the body. On mouseover, update and show the tooltip for stocks (filter out ETFs using the sector or market cap null-check).
  5. Interactivity:
    • Add click listeners to circles to add a CSS class (e.g., .highlight) and trigger scrollIntoView on the corresponding table row.
    • Add click listeners to table rows to find the corresponding bubble and highlight it.

Keep looking

Skills are one crate of 328,083. 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.