{
  "id": "ppc-opportunity-cost",
  "name": "PPC and opportunity cost",
  "unit": "intro",
  "unitName": "Unit 1 · Introduction to economics",
  "topic": "Production possibilities",
  "hl": false,
  "description": "Moving along the PPC, each extra unit of one good costs increasing amounts of the other (concave PPC) because resources are not equally suited to both uses.",
  "keywords": [
    "opportunity cost",
    "increasing opportunity cost",
    "constant opportunity cost",
    "trade-off",
    "PPC"
  ],
  "schemaUrl": "https://graphs.lectere.com/api/v1/templates/ppc-opportunity-cost",
  "previewUrl": "https://graphs.lectere.com/thumbs/ppc-opportunity-cost.svg",
  "editorUrl": "https://graphs.lectere.com/graph/ppc-opportunity-cost/",
  "params": [
    {
      "key": "shape",
      "label": "Shape",
      "default": "concave",
      "type": "enum",
      "options": [
        {
          "value": "concave",
          "label": "Concave (increasing opportunity cost)"
        },
        {
          "value": "straight",
          "label": "Straight line (constant opportunity cost)"
        }
      ]
    },
    {
      "key": "guides",
      "label": "Guides to the axes",
      "default": true,
      "type": "boolean"
    },
    {
      "key": "steps",
      "label": "Show ΔX and ΔY steps",
      "default": true,
      "type": "boolean"
    },
    {
      "key": "note",
      "label": "Annotate",
      "default": true,
      "type": "boolean"
    },
    {
      "key": "xGood",
      "label": "Good on x-axis",
      "default": "Consumer goods",
      "group": "Labels",
      "type": "string"
    },
    {
      "key": "yGood",
      "label": "Good on y-axis",
      "default": "Capital goods",
      "group": "Labels",
      "type": "string"
    }
  ],
  "defaults": {
    "shape": "concave",
    "guides": true,
    "steps": true,
    "note": true,
    "xGood": "Consumer goods",
    "yGood": "Capital goods"
  },
  "panels": [
    {
      "id": "main",
      "title": null,
      "xLabel": "Consumer goods",
      "yLabel": "Capital goods",
      "xRange": [
        0,
        10
      ],
      "yRange": [
        0,
        10
      ],
      "axisKeys": {
        "x": "main:x",
        "y": "main:y"
      }
    }
  ],
  "labels": [
    {
      "key": "main:y",
      "default": "Capital goods",
      "hint": "Vertical axis",
      "panel": "main"
    },
    {
      "key": "main:x",
      "default": "Consumer goods",
      "hint": "Horizontal axis",
      "panel": "main"
    },
    {
      "key": "main.ppc",
      "default": "PPC",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.a",
      "default": "A",
      "hint": "Point",
      "panel": "main"
    },
    {
      "key": "main.a:y",
      "default": "Y_1",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.a:x",
      "default": "X_1",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.b",
      "default": "B",
      "hint": "Point",
      "panel": "main"
    },
    {
      "key": "main.b:y",
      "default": "Y_2",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.b:x",
      "default": "X_2",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.c",
      "default": "C",
      "hint": "Point",
      "panel": "main"
    },
    {
      "key": "main.c:y",
      "default": "Y_3",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.c:x",
      "default": "X_3",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.dx1",
      "default": "ΔX",
      "hint": "Arrow / line",
      "panel": "main"
    },
    {
      "key": "main.dy1",
      "default": "ΔY_1",
      "hint": "Arrow / line",
      "panel": "main"
    },
    {
      "key": "main.dx2",
      "default": "ΔX",
      "hint": "Arrow / line",
      "panel": "main"
    },
    {
      "key": "main.dy2",
      "default": "ΔY_2",
      "hint": "Arrow / line",
      "panel": "main"
    },
    {
      "key": "main.note",
      "default": "Equal ΔX costs ever larger ΔY:\nincreasing opportunity cost",
      "hint": "Text",
      "panel": "main"
    }
  ],
  "elements": [
    {
      "key": "main.ppc",
      "kind": "curve",
      "label": "PPC"
    },
    {
      "key": "main.a",
      "kind": "point",
      "label": "A"
    },
    {
      "key": "main.b",
      "kind": "point",
      "label": "B"
    },
    {
      "key": "main.c",
      "kind": "point",
      "label": "C"
    },
    {
      "key": "main.dx1",
      "kind": "line",
      "label": "ΔX"
    },
    {
      "key": "main.dy1",
      "kind": "line",
      "label": "ΔY_1"
    },
    {
      "key": "main.dx2",
      "kind": "line",
      "label": "ΔX"
    },
    {
      "key": "main.dy2",
      "kind": "line",
      "label": "ΔY_2"
    },
    {
      "key": "main.note",
      "kind": "text",
      "label": "Equal ΔX costs ever larger ΔY:\nincreasing opportunity cost"
    }
  ],
  "stats": null,
  "example": {
    "template": "ppc-opportunity-cost",
    "params": {
      "shape": "concave",
      "guides": true,
      "steps": true,
      "note": true,
      "xGood": "Consumer goods",
      "yGood": "Capital goods"
    }
  }
}