{
  "id": "supply-change-equilibrium",
  "name": "Change in supply → new equilibrium",
  "unit": "micro",
  "unitName": "Unit 2 · Microeconomics",
  "topic": "Demand & supply",
  "hl": false,
  "description": "A shift in supply creates excess demand/supply at the old price, moving the market to a new equilibrium.",
  "keywords": [
    "increase in supply",
    "decrease in supply",
    "new equilibrium",
    "price mechanism",
    "incentive"
  ],
  "schemaUrl": "https://graphs.lectere.com/api/v1/templates/supply-change-equilibrium",
  "previewUrl": "https://graphs.lectere.com/thumbs/supply-change-equilibrium.svg",
  "editorUrl": "https://graphs.lectere.com/graph/supply-change-equilibrium/",
  "params": [
    {
      "key": "dir",
      "label": "Change",
      "default": "inc",
      "type": "enum",
      "options": [
        {
          "value": "inc",
          "label": "Increase"
        },
        {
          "value": "dec",
          "label": "Decrease"
        }
      ]
    },
    {
      "key": "excess",
      "label": "Show excess demand/supply at the old price",
      "default": false,
      "type": "boolean"
    },
    {
      "key": "pointLabels",
      "label": "Label points E₁ and E₂",
      "default": false,
      "type": "boolean"
    },
    {
      "key": "shift",
      "label": "Shift size",
      "default": 2,
      "group": "Shape",
      "type": "number",
      "min": 0.5,
      "max": 3.5,
      "step": 0.1
    },
    {
      "key": "dSlope",
      "label": "Demand steepness",
      "default": 0.8,
      "group": "Shape",
      "type": "number",
      "min": 0.3,
      "max": 2.5,
      "step": 0.05
    },
    {
      "key": "sSlope",
      "label": "Supply steepness",
      "default": 0.8,
      "group": "Shape",
      "type": "number",
      "min": 0.3,
      "max": 2.5,
      "step": 0.05
    }
  ],
  "defaults": {
    "dir": "inc",
    "excess": false,
    "pointLabels": false,
    "shift": 2,
    "dSlope": 0.8,
    "sSlope": 0.8
  },
  "panels": [
    {
      "id": "main",
      "title": null,
      "xLabel": "Quantity",
      "yLabel": "Price",
      "xRange": [
        0,
        10
      ],
      "yRange": [
        0,
        10
      ],
      "axisKeys": {
        "x": "main:x",
        "y": "main:y"
      }
    }
  ],
  "labels": [
    {
      "key": "main:y",
      "default": "Price",
      "hint": "Vertical axis",
      "panel": "main"
    },
    {
      "key": "main:x",
      "default": "Quantity",
      "hint": "Horizontal axis",
      "panel": "main"
    },
    {
      "key": "main.d",
      "default": "D",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.s1",
      "default": "S_1",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.s2",
      "default": "S_2",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.e1:y",
      "default": "P_1",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.e1:x",
      "default": "Q_1",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.e2:y",
      "default": "P_2",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.e2:x",
      "default": "Q_2",
      "hint": "Horizontal-axis value",
      "panel": "main"
    }
  ],
  "elements": [
    {
      "key": "main.d",
      "kind": "curve",
      "label": "D"
    },
    {
      "key": "main.s1",
      "kind": "curve",
      "label": "S_1"
    },
    {
      "key": "main.s2",
      "kind": "curve",
      "label": "S_2"
    },
    {
      "key": "main.shift",
      "kind": "line"
    },
    {
      "key": "main.e1",
      "kind": "point"
    },
    {
      "key": "main.e2",
      "kind": "point"
    }
  ],
  "stats": null,
  "example": {
    "template": "supply-change-equilibrium",
    "params": {
      "dir": "inc",
      "excess": false,
      "pointLabels": false,
      "shift": 2,
      "dSlope": 0.8,
      "sSlope": 0.8
    }
  }
}