{
  "version": "xarts.polar-sectors/1",
  "family": "polar-sectors",
  "operation": "contained-magnitude",
  "provenance": {
    "legacyId": "nested-circles"
  },
  "data": {
    "rows": [
      {
        "id": "level-0",
        "label": "TAM",
        "value": 6000,
        "description": "Mercado total direccionable"
      },
      {
        "id": "level-1",
        "label": "SAM",
        "value": 1800,
        "description": "Mercado al que se puede servir"
      },
      {
        "id": "level-2",
        "label": "SOM",
        "value": 450,
        "description": "Cuota alcanzable"
      }
    ]
  },
  "encoding": {
    "label": "label",
    "value": "value",
    "description": "description",
    "unit": "millones de dólares"
  },
  "calculation": {
    "order": "provided-descending",
    "relation": "nested-populations",
    "normalization": "outermost",
    "sizeEncoding": "area",
    "aggregation": "none"
  },
  "profile": {
    "view": "circles",
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 24,
      "left": 20
    },
    "shape": {
      "baseColor": "colors.series.blue",
      "levelColors": [],
      "rampLightest": 0.82,
      "lightenWith": "colors.surface",
      "stroke": "colors.surface",
      "strokeWidth": 0,
      "tangentInset": 0,
      "cornerRadius": 0,
      "labelPadding": 16
    },
    "nameLabel": {
      "fontSize": 13,
      "fontWeight": 600,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "show": true
    },
    "valueLabel": {
      "fontSize": 26,
      "fontWeight": 700,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "prefix": "$",
      "suffix": "M",
      "decimals": 0,
      "minFontSize": 12
    },
    "subLabel": {
      "fontSize": 11,
      "fontWeight": 400,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "show": true,
      "opacity": 0.85
    },
    "shareLabel": {
      "fontSize": 11,
      "fontWeight": 500,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "show": true,
      "showOnOuter": false,
      "decimals": 0,
      "template": "{share}% del {outer}",
      "opacity": 0.85
    },
    "textColors": {
      "onLight": "colors.textPrimary",
      "onDark": "colors.surface",
      "luminanceThreshold": 0.18
    },
    "leader": {
      "stroke": "colors.textMuted",
      "strokeWidth": 1,
      "gap": 12,
      "textColor": "colors.textPrimary",
      "mutedTextColor": "colors.textMuted"
    },
    "lineHeight": 1.8,
    "glyphWidthRatio": 0.58,
    "measurement": "font-metrics",
    "descriptionFit": "preserve"
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Tres niveles de un mercado ficticio",
      "subtitle": "Datos generados para demostrar la gramática del gráfico",
      "source": "Ejemplo sintético · sin datos de clientes"
    },
    "footer": {
      "source": "Ejemplo sintético generado para la biblioteca",
      "notes": "Valores y entidades ficticios. No representan clientes, planes ni resultados reales."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 640
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "nested-circles",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
