oneshotlm
Compare all models on this prompt →

Force-directed graph · qwen3-235b-a22b-2507

Using the pre-provided d3.min.js (global d3), render an interactive force-directed graph of about 40 nodes in several clusters with draggable nodes, hover highlighting of neighbors, and zoom/pan. Define the sample nodes and links inline.

⛨ sandboxed Open in new tab ↗
transcript · 6 messages
user

Using the pre-provided d3.min.js (global d3), render an interactive force-directed graph of about 40 nodes in several clusters with draggable nodes, hover highlighting of neighbors, and zoom/pan. Define the sample nodes and links inline.

assistant
bash {"command":"ls"}
toolResult

d3.min.js

assistant
write index.html (10634 bytes)
toolResult

Successfully wrote 10634 bytes to index.html

assistant

index.html has been created with an interactive force-directed graph using D3.js. The visualization features: - Approximately 40 nodes arranged in 6 clusters - Physics-based layout with force-directed simulation - Draggable nodes with smooth dragging behavior - Hover highlighting: when a node is hovered, its neighbors are highlighted and non-relevant nodes/links are dimmed - Zoom and pan functionality for navigation - Color-coded clusters with distinct colors - Labels for each node The graph is fully self-contained in the index.html file and uses the provided d3.min.js library. No external resources or network requests are used.

TAKE IT TO CODE

A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.

RUN

modelqwen3-235b-a22b-2507
vendorQwen
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Force-directed graph with clusters, physics simulation, drag repositions nodes, hover enlarges nodes, wheel zooms in.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion9.8%
on click0.0%
on drag7.0%
on wheel5.2%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread13.8 / 255
console errors0
js errors none

METRICS

runtime63.2s
tokens in8.1k
tokens out3.5k
cached0
cost / run$0.0011