{
  "component": {
    "id": "scatter-plot",
    "name": "Scatter plot",
    "tier": "pro",
    "exampleId": "scatter-plot",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/scatter-plot-demo.tsx",
    "exportName": "ScatterPlotDemo",
    "sha256": "59f994c92d37ec5ca331d5204ead184f1607e85a15fcf4186cd1270507568f15",
    "helperImports": [],
    "directComponentImports": [
      "scatter-plot"
    ],
    "sampleBoundary": "Existing local demo fixture with fictional data and callbacks. No live service, customer data, access key, or Pro source is included."
  },
  "install": {
    "command": "npx shadcn@latest add @tidal-pro/scatter-plot",
    "registryUrl": "https://tidalui.com/r/pro/scatter-plot.json",
    "namespace": "@tidal-pro",
    "access": "pro",
    "sourceDelivery": "server-gated",
    "requiresAuthorization": true,
    "tokenSource": "local-env",
    "tokenEnvName": "TIDALUI_TOKEN",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "@tidal-pro/scatter-plot",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/scatter-plot",
      "registryUrl": "https://tidalui.com/r/pro/scatter-plot.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/scatter-plot.tsx",
    "exports": [
      "TidalScatterPlot",
      "TidalScatterPoint"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/scatter-plot.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "scatter-plot"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/scatter-plot.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/scatter-plot.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState } from \"react\";\n\nimport { TidalScatterPlot, type TidalScatterPoint } from \"./components/ui/scatter-plot\";\n\nimport \"./components/ui/scatter-plot.css\";\n\n\n\nconst samples: readonly TidalScatterPoint[] = [\n  { id: \"alder\", label: \"Alder\", x: 14, y: 92 },\n  { id: \"birch\", label: \"Birch\", x: 22, y: 64 },\n  { id: \"cedar\", label: \"Cedar\", x: 31, y: 88 },\n  { id: \"elm\", label: \"Elm\", x: 38, y: 54 },\n  { id: \"fir\", label: \"Fir\", x: 47, y: 71 },\n  { id: \"maple\", label: \"Maple\", x: 59, y: 46 },\n  { id: \"oak\", label: \"Oak\", x: 67, y: 61 },\n  { id: \"pine\", label: \"Pine\", x: 74, y: 31 },\n  { id: \"reed\", label: \"Reed\", x: 84, y: 44 },\n  { id: \"willow\", label: \"Willow\", x: 92, y: 24 },\n];\n\nexport function ScatterPlotDemo() {\n  const [selected, setSelected] = useState<string | null>(\"fir\");\n  return (\n    <div style={{ width: \"100%\", maxWidth: 860 }}>\n      <TidalScatterPlot\n        title=\"Response time by load\"\n        description=\"Sample request groups. Select a point to compare its exact values.\"\n        data={samples}\n        xLabel=\"Concurrent requests\"\n        yLabel=\"Response time (ms)\"\n        selectedId={selected}\n        onSelectedChange={setSelected}\n      />\n    </div>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <ScatterPlotDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/scatter-plot.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "selectedId",
      "type": "inferred-from-existing-demo",
      "initial": "\"fir\"",
      "setter": "setSelected",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onSelectedChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "nativeForm": {
    "participates": false,
    "names": [],
    "expectedFormData": {},
    "submitBehavior": "No form submit is present in the existing demo.",
    "resetBehavior": "No reset control is present in the existing demo.",
    "disabledBehavior": "Disabled controls remain excluded from successful native form submission.",
    "readOnlyBehavior": "Read-only controls retain their value and remain inspectable by the consumer."
  },
  "accessibility": {
    "labelSource": "Consumer-provided label remains required where the component API requires one.",
    "semantics": "Preserve the component's native element and the semantics demonstrated by the source fixture.",
    "keyboard": [
      "Tab and Shift+Tab",
      "Enter or Space for native activation",
      "Arrow keys where the component exposes a composite control"
    ],
    "focusReturn": "Preserve browser focus order and visible focus.",
    "errorAnnouncement": "No error announcement path is present in this demo; the consumer owns validation messaging.",
    "reducedMotion": "Verify prefers-reduced-motion with the existing component transition path.",
    "forcedColors": "Verify visible borders, text, and focus in forced-colors mode."
  },
  "responsive": {
    "widths": [
      320,
      390,
      768,
      1260
    ],
    "shortViewport": "Check the example at a 300px viewport height with keyboard or portal content visible.",
    "overflow": "The page should not gain horizontal overflow; component-local scrolling must remain intentional.",
    "touchTargetMinPx": 44,
    "coarseInputFontPx": 16
  },
  "errors": [
    {
      "fixture": "No error fixture is exposed by the existing demo; inject a consumer-owned failure state before production use.",
      "visibleResult": "The consumer-visible result must remain explicit and must not be replaced by a silent console error.",
      "focusResult": "Focus must remain on the triggering control or move to the announced error according to the native pattern.",
      "ownership": "Consumer-owned sample state only; no network request or customer data is used."
    }
  ],
  "verification": {
    "commands": [
      "npx tsc --noEmit",
      "npx vite build"
    ],
    "lockfile": "Use the consumer project's committed lockfile.",
    "browser": [
      "Chromium 1260x800",
      "Chromium 390x844",
      "Keyboard and reduced-motion pass"
    ]
  },
  "validation": {
    "consumerFixture": {
      "tsc": "pass",
      "viteBuild": "pass",
      "resourceModel": "Generated usage plus only the component files and CSS delivered by the primary item and listed registry dependencies."
    },
    "registryArtifact": "server-gated"
  },
  "exceptions": []
}
