{
  "version": "xarts.ranked-populations/1",
  "family": "ranked-populations",
  "provenance": {
    "legacyId": "areabump"
  },
  "document": {
    "header": {
      "title": "Streaming Rankings",
      "subtitle": "Streaming platform ranking changes"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "output": {
    "filename": "areabump",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "operation": "provided-ranks",
  "data": {
    "entities": [
      {
        "id": "netflix",
        "label": "Netflix",
        "color": "series.blue"
      },
      {
        "id": "disney+",
        "label": "Disney+",
        "color": "series.blue"
      },
      {
        "id": "hbo max",
        "label": "Hbo max",
        "color": "series.blue"
      },
      {
        "id": "amazon prime",
        "label": "Amazon prime",
        "color": "series.blue"
      },
      {
        "id": "apple tv+",
        "label": "Apple tv+",
        "color": "series.blue"
      }
    ],
    "periods": [
      {
        "id": "Q1 2023",
        "label": "Q1 2023"
      },
      {
        "id": "Q2 2023",
        "label": "Q2 2023"
      },
      {
        "id": "Q3 2023",
        "label": "Q3 2023"
      },
      {
        "id": "Q4 2023",
        "label": "Q4 2023"
      },
      {
        "id": "Q1 2024",
        "label": "Q1 2024"
      },
      {
        "id": "Q2 2024",
        "label": "Q2 2024"
      }
    ],
    "rows": [
      {
        "id": "p1-e1",
        "entity": "netflix",
        "period": "Q1 2023",
        "rank": 1
      },
      {
        "id": "p1-e2",
        "entity": "disney+",
        "period": "Q1 2023",
        "rank": 2
      },
      {
        "id": "p1-e3",
        "entity": "hbo max",
        "period": "Q1 2023",
        "rank": 3
      },
      {
        "id": "p1-e4",
        "entity": "amazon prime",
        "period": "Q1 2023",
        "rank": 4
      },
      {
        "id": "p1-e5",
        "entity": "apple tv+",
        "period": "Q1 2023",
        "rank": 5
      },
      {
        "id": "p2-e1",
        "entity": "netflix",
        "period": "Q2 2023",
        "rank": 1
      },
      {
        "id": "p2-e2",
        "entity": "disney+",
        "period": "Q2 2023",
        "rank": 3
      },
      {
        "id": "p2-e3",
        "entity": "hbo max",
        "period": "Q2 2023",
        "rank": 2
      },
      {
        "id": "p2-e4",
        "entity": "amazon prime",
        "period": "Q2 2023",
        "rank": 4
      },
      {
        "id": "p2-e5",
        "entity": "apple tv+",
        "period": "Q2 2023",
        "rank": 5
      },
      {
        "id": "p3-e1",
        "entity": "netflix",
        "period": "Q3 2023",
        "rank": 2
      },
      {
        "id": "p3-e2",
        "entity": "disney+",
        "period": "Q3 2023",
        "rank": 1
      },
      {
        "id": "p3-e3",
        "entity": "hbo max",
        "period": "Q3 2023",
        "rank": 4
      },
      {
        "id": "p3-e4",
        "entity": "amazon prime",
        "period": "Q3 2023",
        "rank": 3
      },
      {
        "id": "p3-e5",
        "entity": "apple tv+",
        "period": "Q3 2023",
        "rank": 5
      },
      {
        "id": "p4-e1",
        "entity": "netflix",
        "period": "Q4 2023",
        "rank": 3
      },
      {
        "id": "p4-e2",
        "entity": "disney+",
        "period": "Q4 2023",
        "rank": 1
      },
      {
        "id": "p4-e3",
        "entity": "hbo max",
        "period": "Q4 2023",
        "rank": 5
      },
      {
        "id": "p4-e4",
        "entity": "amazon prime",
        "period": "Q4 2023",
        "rank": 2
      },
      {
        "id": "p4-e5",
        "entity": "apple tv+",
        "period": "Q4 2023",
        "rank": 4
      },
      {
        "id": "p5-e1",
        "entity": "netflix",
        "period": "Q1 2024",
        "rank": 2
      },
      {
        "id": "p5-e2",
        "entity": "disney+",
        "period": "Q1 2024",
        "rank": 4
      },
      {
        "id": "p5-e3",
        "entity": "hbo max",
        "period": "Q1 2024",
        "rank": 5
      },
      {
        "id": "p5-e4",
        "entity": "amazon prime",
        "period": "Q1 2024",
        "rank": 1
      },
      {
        "id": "p5-e5",
        "entity": "apple tv+",
        "period": "Q1 2024",
        "rank": 3
      },
      {
        "id": "p6-e1",
        "entity": "netflix",
        "period": "Q2 2024",
        "rank": 1
      },
      {
        "id": "p6-e2",
        "entity": "disney+",
        "period": "Q2 2024",
        "rank": 4
      },
      {
        "id": "p6-e3",
        "entity": "hbo max",
        "period": "Q2 2024",
        "rank": 5
      },
      {
        "id": "p6-e4",
        "entity": "amazon prime",
        "period": "Q2 2024",
        "rank": 2
      },
      {
        "id": "p6-e5",
        "entity": "apple tv+",
        "period": "Q2 2024",
        "rank": 3
      }
    ]
  },
  "calculation": {
    "input": "provided-rank",
    "population": "declared-entities",
    "periodOrder": "declared",
    "ties": "reject",
    "missing": "reject",
    "duplicatePairs": "reject",
    "unit": "rank"
  },
  "layout": {
    "view": "area-bump",
    "readability": {
      "edgePadding": 16,
      "textGap": 6,
      "labels": "complete",
      "contours": "declared-primitives"
    },
    "margin": {
      "top": 24,
      "right": 100,
      "bottom": 47,
      "left": 100
    },
    "pointPadding": 0,
    "ribbonWidth": "one-rank-slot",
    "curveControlRatio": 0.4,
    "capStepRatio": 0.08
  },
  "marks": {
    "strokeWidth": 1,
    "pointRadius": 0,
    "pointStroke": "surface",
    "pointStrokeWidth": 0,
    "fillOpacity": 0.75,
    "strokeOpacity": 1
  },
  "labels": {
    "rankLabels": [
      "1st",
      "2nd",
      "3rd",
      "4th",
      "5th"
    ],
    "rankFallback": "#{rank}",
    "periodFormat": "literal",
    "endpoints": {
      "colors": {
        "netflix": "series.blue",
        "disney+": "textPrimary",
        "hbo max": "textPrimary",
        "amazon prime": "textPrimary",
        "apple tv+": "textPrimary"
      },
      "enabled": true,
      "offset": 12,
      "fontSize": 12,
      "fontWeight": 600
    }
  },
  "legend": {
    "position": "right",
    "width": 120,
    "shape": "square",
    "filterRanks": "compact-visible"
  },
  "annotations": []
}
