{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "operation": "layered-series",
  "provenance": {
    "legacyId": "cumulativeflow"
  },
  "data": {
    "rows": [
      {
        "Date": "Week 1",
        "Done": 0,
        "In Review": 2,
        "In Progress": 5,
        "To Do": 40
      },
      {
        "Date": "Week 2",
        "Done": 3,
        "In Review": 3,
        "In Progress": 6,
        "To Do": 40
      },
      {
        "Date": "Week 3",
        "Done": 8,
        "In Review": 4,
        "In Progress": 7,
        "To Do": 40
      },
      {
        "Date": "Week 4",
        "Done": 14,
        "In Review": 3,
        "In Progress": 6,
        "To Do": 42
      },
      {
        "Date": "Week 5",
        "Done": 20,
        "In Review": 4,
        "In Progress": 7,
        "To Do": 42
      },
      {
        "Date": "Week 6",
        "Done": 26,
        "In Review": 3,
        "In Progress": 5,
        "To Do": 44
      },
      {
        "Date": "Week 7",
        "Done": 32,
        "In Review": 4,
        "In Progress": 6,
        "To Do": 44
      },
      {
        "Date": "Week 8",
        "Done": 38,
        "In Review": 3,
        "In Progress": 7,
        "To Do": 44
      },
      {
        "Date": "Week 9",
        "Done": 43,
        "In Review": 4,
        "In Progress": 5,
        "To Do": 44
      },
      {
        "Date": "Week 10",
        "Done": 48,
        "In Review": 3,
        "In Progress": 6,
        "To Do": 45
      },
      {
        "Date": "Week 11",
        "Done": 54,
        "In Review": 4,
        "In Progress": 5,
        "To Do": 45
      },
      {
        "Date": "Week 12",
        "Done": 59,
        "In Review": 3,
        "In Progress": 6,
        "To Do": 45
      },
      {
        "Date": "Week 13",
        "Done": 64,
        "In Review": 4,
        "In Progress": 5,
        "To Do": 45
      },
      {
        "Date": "Week 14",
        "Done": 68,
        "In Review": 3,
        "In Progress": 7,
        "To Do": 45
      },
      {
        "Date": "Week 15",
        "Done": 73,
        "In Review": 4,
        "In Progress": 5,
        "To Do": 45
      },
      {
        "Date": "Week 16",
        "Done": 78,
        "In Review": 3,
        "In Progress": 4,
        "To Do": 45
      },
      {
        "Date": "Week 17",
        "Done": 82,
        "In Review": 3,
        "In Progress": 5,
        "To Do": 45
      },
      {
        "Date": "Week 18",
        "Done": 86,
        "In Review": 2,
        "In Progress": 4,
        "To Do": 45
      },
      {
        "Date": "Week 19",
        "Done": 90,
        "In Review": 2,
        "In Progress": 3,
        "To Do": 45
      },
      {
        "Date": "Week 20",
        "Done": 93,
        "In Review": 1,
        "In Progress": 2,
        "To Do": 45
      }
    ]
  },
  "encoding": {
    "x": "Date",
    "series": [
      {
        "id": "series-1",
        "field": "Done",
        "label": "Done",
        "unit": "items",
        "color": "green",
        "opacity": 0.85
      },
      {
        "id": "series-2",
        "field": "In Review",
        "label": "In Review",
        "unit": "items",
        "color": "teal",
        "opacity": 0.85
      },
      {
        "id": "series-3",
        "field": "In Progress",
        "label": "In Progress",
        "unit": "items",
        "color": "amber",
        "opacity": 0.85
      },
      {
        "id": "series-4",
        "field": "To Do",
        "label": "To Do",
        "unit": "items",
        "color": "cyan",
        "opacity": 0.85
      }
    ]
  },
  "calculation": {
    "kind": "stack",
    "coordinate": "ordinal",
    "order": "input",
    "missing": "reject",
    "quantity": "workflow-state-stocks",
    "stackOrder": "reverse",
    "offset": "zero",
    "normalization": "absolute",
    "zeroTotal": "all-zero",
    "total": null,
    "headroom": 0.05,
    "nice": true
  },
  "profile": {
    "view": "stacked-area",
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 56,
      "left": 48
    },
    "measureY": true,
    "pointPadding": 0.5,
    "interpolation": "monotone-x",
    "stroke": "surface",
    "strokeWidth": 1,
    "legend": {
      "visible": true,
      "position": "top"
    },
    "axes": {
      "xTicks": 6,
      "adaptiveX": false,
      "pixelsPerTick": 80,
      "yTicks": 5,
      "yFormat": "adaptive",
      "divisor": 1,
      "decimals": 0,
      "prefix": "",
      "suffix": ""
    },
    "exportMeasurement": "glyph-advances"
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Cumulative Flow Diagram",
      "subtitle": "Work item distribution across workflow states over time"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "cumulativeflow",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
