{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "operation": "layered-series",
  "provenance": {
    "legacyId": "stream"
  },
  "data": {
    "rows": [
      {
        "Year": 2015,
        "Pop": 45,
        "Rock": 38,
        "Hip-Hop": 32,
        "Electronic": 28,
        "Jazz": 15
      },
      {
        "Year": 2016,
        "Pop": 48,
        "Rock": 36,
        "Hip-Hop": 35,
        "Electronic": 30,
        "Jazz": 14
      },
      {
        "Year": 2017,
        "Pop": 52,
        "Rock": 34,
        "Hip-Hop": 38,
        "Electronic": 32,
        "Jazz": 13
      },
      {
        "Year": 2018,
        "Pop": 55,
        "Rock": 32,
        "Hip-Hop": 42,
        "Electronic": 35,
        "Jazz": 12
      },
      {
        "Year": 2019,
        "Pop": 58,
        "Rock": 30,
        "Hip-Hop": 45,
        "Electronic": 38,
        "Jazz": 11
      },
      {
        "Year": 2020,
        "Pop": 60,
        "Rock": 28,
        "Hip-Hop": 48,
        "Electronic": 40,
        "Jazz": 10
      },
      {
        "Year": 2021,
        "Pop": 62,
        "Rock": 26,
        "Hip-Hop": 52,
        "Electronic": 43,
        "Jazz": 10
      },
      {
        "Year": 2022,
        "Pop": 65,
        "Rock": 25,
        "Hip-Hop": 55,
        "Electronic": 46,
        "Jazz": 9
      },
      {
        "Year": 2023,
        "Pop": 68,
        "Rock": 24,
        "Hip-Hop": 58,
        "Electronic": 48,
        "Jazz": 9
      },
      {
        "Year": 2024,
        "Pop": 70,
        "Rock": 23,
        "Hip-Hop": 60,
        "Electronic": 50,
        "Jazz": 8
      }
    ]
  },
  "encoding": {
    "x": "Year",
    "series": [
      {
        "id": "series-1",
        "field": "Pop",
        "label": "Pop",
        "unit": "popularidad",
        "color": "blue",
        "opacity": 0.85
      },
      {
        "id": "series-2",
        "field": "Rock",
        "label": "Rock",
        "unit": "popularidad",
        "color": "red",
        "opacity": 0.85
      },
      {
        "id": "series-3",
        "field": "Hip-Hop",
        "label": "Hip-Hop",
        "unit": "popularidad",
        "color": "amber",
        "opacity": 0.85
      },
      {
        "id": "series-4",
        "field": "Electronic",
        "label": "Electronic",
        "unit": "popularidad",
        "color": "violet",
        "opacity": 0.85
      },
      {
        "id": "series-5",
        "field": "Jazz",
        "label": "Jazz",
        "unit": "popularidad",
        "color": "emerald",
        "opacity": 0.85
      }
    ]
  },
  "calculation": {
    "kind": "stack",
    "coordinate": "number",
    "order": "coordinate-ascending",
    "missing": "reject",
    "quantity": "provided-observations",
    "stackOrder": "ascending-sum",
    "offset": "wiggle",
    "normalization": "absolute",
    "zeroTotal": "all-zero",
    "total": null,
    "headroom": 0.05,
    "nice": false
  },
  "profile": {
    "view": "stream",
    "frame": {
      "xInset": 14,
      "axisInkPadding": 16,
      "legendHeight": 52,
      "zoom": true,
      "zoomReference": "full-data-stack-and-domain",
      "clip": "none",
      "strokeJoin": "round",
      "axisTitle": "Posición de las capas (desplazamiento)",
      "axisTitleColor": "#2a2a2a",
      "axisTextColor": "#3d3d3d"
    },
    "margin": {
      "top": 40,
      "right": 36,
      "bottom": 80,
      "left": 100
    },
    "measureY": true,
    "pointPadding": 0.5,
    "interpolation": "linear",
    "stroke": "surface",
    "strokeWidth": 1.5,
    "legend": {
      "visible": true,
      "position": "bottom"
    },
    "axes": {
      "xTicks": 10,
      "adaptiveX": false,
      "pixelsPerTick": 80,
      "yTicks": 5,
      "yFormat": "number",
      "divisor": 1,
      "decimals": 0,
      "prefix": "",
      "suffix": ""
    },
    "exportMeasurement": "glyph-advances"
  },
  "annotations": [],
  "document": {
    "textOverflow": "preserve",
    "header": {
      "title": "Genre Popularity",
      "subtitle": "Music genre trends over a decade"
    },
    "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
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 600
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "stream",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
