Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Paired Metrics

Compare two alternatives across two measures using independent bar scales and synchronized value counters.

Ejemplos · 2

Ejecutar online

Gratis

Ejecuta el ejemplo de Paired Metrics en un Sandbox de SandBase y mira el resultado aquí mismo.

Cómo funciona

  1. 01

    Write the comparison

    Paired Metrics takes validated JSON for two alternatives across two non-negative measures, each with explicit units, plus a data label. The Agent translates your brief into that JSON; the renderer does not interpret natural language. Keep units visible and identify demonstration data.

  2. 02

    Draw two independent scales

    Each measure gets its own rounded bar scale, so bar lengths are never compared across measures; a larger bar on one measure does not mean better overall. Value counters run in sync with the bars as they grow, and the generated HTML holds real GSAP animation with editable typography, bars and labels.

  3. 03

    Inspect and render

    Render with Node.js 22 and FFmpeg, then inspect encoded native-resolution frames, text boundaries, each handoff, the final labels and normal-speed playback, and fully decode the MP4. Failures return nonzero. The demos compare two greenhouses on water and harvest, and two commutes on time and cost, both illustrative.

Preguntas frecuentes

What does Paired Metrics compare?

Paired Metrics compares two alternatives across two measures with independent bar scales and synchronised value counters, such as two greenhouses on water use and harvest. It suits short explainers where two options trade off on different units.

Why are the Paired Metrics scales separate?

Paired Metrics gives each measure its own scale because the units differ, litres and kilograms, minutes and money. Drawing them on one axis would invite a false comparison, so the guidance is never to imply bar lengths across measures share a scale.

Does Paired Metrics read my brief?

Not directly. In Paired Metrics the Agent turns your brief into validated JSON with alternatives, measures, units and a data label, and the renderer only draws that JSON. It never interprets natural language or invents values.

Does Paired Metrics need a paid service?

No. Paired Metrics renders locally and needs no model credentials or paid calls; the bundled Noto CJK font and GSAP keep their notices. HyperFrames installation may need network access once.

Is Paired Metrics data real?

Only if you provide real data. Paired Metrics' demos are labelled illustrative, and its guidance is to identify demonstration data in the data label so viewers do not take example numbers as findings.