{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "operation": "series-composition",
  "provenance": {
    "legacyId": "barline"
  },
  "data": {
    "rows": [
      {
        "Month": "Jan",
        "Revenue ($)": 152000,
        "YoY Growth (%)": 3.2
      },
      {
        "Month": "Feb",
        "Revenue ($)": 168000,
        "YoY Growth (%)": 5.8
      },
      {
        "Month": "Mar",
        "Revenue ($)": 195000,
        "YoY Growth (%)": 8.1
      },
      {
        "Month": "Apr",
        "Revenue ($)": 180000,
        "YoY Growth (%)": 4.5
      },
      {
        "Month": "May",
        "Revenue ($)": 210000,
        "YoY Growth (%)": 10.2
      },
      {
        "Month": "Jun",
        "Revenue ($)": 245000,
        "YoY Growth (%)": 14.1
      },
      {
        "Month": "Jul",
        "Revenue ($)": 230000,
        "YoY Growth (%)": 11.5
      },
      {
        "Month": "Aug",
        "Revenue ($)": 215000,
        "YoY Growth (%)": -2.4
      },
      {
        "Month": "Sep",
        "Revenue ($)": 260000,
        "YoY Growth (%)": 7.6
      },
      {
        "Month": "Oct",
        "Revenue ($)": 285000,
        "YoY Growth (%)": 12.8
      },
      {
        "Month": "Nov",
        "Revenue ($)": 270000,
        "YoY Growth (%)": -4.8
      },
      {
        "Month": "Dec",
        "Revenue ($)": 320000,
        "YoY Growth (%)": 15
      }
    ]
  },
  "encoding": {
    "x": "Month",
    "series": [
      {
        "id": "series-1",
        "field": "Revenue ($)",
        "label": "Revenue",
        "unit": "$",
        "color": "teal"
      },
      {
        "id": "series-2",
        "field": "YoY Growth (%)",
        "label": "YoY Growth",
        "unit": "%",
        "color": "red"
      }
    ]
  },
  "calculation": {
    "kind": "dual-measure",
    "bar": "series-1",
    "line": "series-2",
    "coordinate": "ordinal",
    "barHeadroom": 0.1,
    "linePadding": 0.15,
    "growth": "provided-not-recomputed"
  },
  "profile": {
    "view": "bars-and-line",
    "margin": {
      "top": 24,
      "right": 56,
      "bottom": 40,
      "left": 56
    },
    "axisInkPadding": 0,
    "bandPadding": 0.3,
    "bar": {
      "opacity": 0.8,
      "radius": 0
    },
    "lineWidth": 2.5,
    "dot": {
      "radius": 4,
      "stroke": "surface",
      "width": 2
    },
    "legend": true,
    "legendAlign": "center",
    "format": {
      "barPrefix": "$",
      "barSuffix": "",
      "linePercent": true,
      "xMonths": true
    }
  },
  "annotations": [],
  "measurement": "glyph-advances",
  "document": {
    "header": {
      "title": "Revenue & Growth",
      "subtitle": "Revenue peaks at $320K in December; growth turns negative in August and November"
    },
    "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": "barline",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
