oneshotlm
Compare all models on this prompt →

Force-directed graph · nova-2-lite-v1

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 · 4 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
thinking
[REDACTED].
write index.html (4106 bytes)
toolResult

Successfully wrote 4106 bytes to index.html

assistant
thinking
[REDACTED].

✅ Done! `index.html` now contains a fully self‑contained, interactive force‑directed graph using the local **d3.min.js**. Features included: - 40 nodes arranged in 5 clusters - Draggable nodes (click‑and‑drag) - Hover highlighting of a node **and** its immediate neighbors - Zoom & pan (mouse wheel + drag) - No external resources or network requests Open `index.html` in any modern browser to interact with the graph.

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

modelnova-2-lite-v1
vendorAmazon · Nova
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Force-directed clustered graph with drag panning nodes and wheel zooming in; keyboard input has no effect (as expected).

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 motion0.8%
on click0.3%
on drag4.3%
on wheel3.8%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread13.1 / 255
console errors0
js errors none

METRICS

runtime32.0s
tokens in5.8k
tokens out5.4k
cached0
cost / run$0.0152