{
  "$schema": "https://openpresentation.org/schema/opf/v1",
  "name": "Chart Data Sources",
  "description": "Technical fixture for inline chart data and asset-backed chart data sources.",
  "assets": {
    "revenue-csv": {
      "src": "./data/revenue.csv",
      "format": "csv",
      "title": "Revenue CSV"
    },
    "workbook": {
      "src": "./data/operating-model.xlsx",
      "mediaType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
      "title": "Operating workbook"
    }
  },
  "slides": [
    {
      "title": "Inline Chart Data",
      "chart": {
        "type": "line-with-markers",
        "data": {
          "columns": [
            "Quarter",
            "Revenue",
            "Cost"
          ],
          "rows": [
            [
              "Q1",
              12,
              8
            ],
            [
              "Q2",
              16,
              10
            ],
            [
              "Q3",
              21,
              13
            ]
          ]
        }
      }
    },
    {
      "title": "CSV Chart Data",
      "chart": {
        "type": "clustered-column",
        "data": {
          "src": "asset:revenue-csv",
          "columns": [
            "Quarter",
            "Revenue",
            "Cost"
          ]
        }
      }
    },
    {
      "title": "Workbook Range Chart Data",
      "chart": {
        "type": "stacked-bar-3x",
        "data": {
          "src": "asset:workbook",
          "sheet": "Plan",
          "range": "Plan!A1:D6",
          "columns": [
            "Workstream",
            "Committed",
            "At Risk",
            "Blocked"
          ]
        }
      }
    }
  ]
}
