{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "title": {
    "text": "Post mix — $tendies",
    "subtitle": "All time · tendiesdev.space/analytics · generated 2026-10-20T20:47:13.000Z"
  },
  "description": "Share of approved posts in range: media vs text, how it reached the board, tag used. Days are calendar days in America/Chicago (Central Time) by the post's X creation time; weeks start Monday (CT). Approved posts only; tracked bot/list accounts excluded; official accounts are kept separate.",
  "data": {
    "name": "snapshot"
  },
  "transform": [
    {
      "joinaggregate": [
        {
          "op": "sum",
          "field": "posts",
          "as": "group_total"
        }
      ],
      "groupby": [
        "group"
      ]
    },
    {
      "calculate": "datum.group_total ? datum.posts / datum.group_total : 0",
      "as": "share"
    }
  ],
  "facet": {
    "row": {
      "field": "group",
      "type": "nominal",
      "title": null,
      "sort": [
        "Media vs text",
        "How it reached the board",
        "Tag used"
      ]
    }
  },
  "spec": {
    "width": 560,
    "height": 26,
    "mark": "bar",
    "encoding": {
      "x": {
        "field": "share",
        "type": "quantitative",
        "stack": "normalize",
        "axis": {
          "format": "%"
        },
        "title": "Share of approved posts"
      },
      "color": {
        "field": "category",
        "type": "nominal",
        "title": null,
        "sort": {
          "field": "order"
        },
        "scale": {
          "domain": [
            "Media",
            "Text only",
            "Pulled from X",
            "Submitted",
            "Both",
            "$tendies",
            "#tendies",
            "Plain word"
          ],
          "range": [
            "#00C805",
            "#5C6675",
            "#00C805",
            "#FF5000",
            "#2BB3A3",
            "#00C805",
            "#2BB3A3",
            "#5C6675"
          ]
        }
      },
      "order": {
        "field": "order",
        "sort": "ascending"
      },
      "tooltip": [
        {
          "field": "group",
          "type": "nominal"
        },
        {
          "field": "category",
          "type": "nominal"
        },
        {
          "field": "posts",
          "type": "quantitative"
        },
        {
          "field": "share",
          "type": "quantitative",
          "format": ".0%"
        }
      ]
    }
  },
  "resolve": {
    "scale": {
      "color": "independent"
    }
  },
  "config": {
    "background": "#0B0E11",
    "view": {
      "stroke": "#2A3340",
      "fill": "#14181F"
    },
    "title": {
      "color": "#F0F3F6",
      "subtitleColor": "#8B95A5",
      "anchor": "start"
    },
    "axis": {
      "labelColor": "#8B95A5",
      "titleColor": "#8B95A5",
      "gridColor": "#2A3340",
      "domainColor": "#2A3340",
      "tickColor": "#2A3340"
    },
    "legend": {
      "labelColor": "#F0F3F6",
      "titleColor": "#8B95A5",
      "orient": "bottom"
    },
    "header": {
      "labelColor": "#F0F3F6",
      "titleColor": "#8B95A5"
    },
    "range": {
      "category": [
        "#00C805",
        "#2BB3A3",
        "#FF5000",
        "#5C6675"
      ]
    }
  },
  "usermeta": {
    "source": "https://tendiesdev.space/analytics?range=all",
    "data_url": "https://tendiesdev.space/api/analytics/post-mix?range=all",
    "chart": "post-mix",
    "range": "all",
    "generated_at": "2026-10-20T20:47:13.000Z",
    "mode": "snapshot (values embedded under datasets.snapshot)",
    "fields": {
      "group": "which split",
      "category": "category within the split",
      "posts": "approved posts in range"
    },
    "bucketing": "Days are calendar days in America/Chicago (Central Time) by the post's X creation time; weeks start Monday (CT). Approved posts only; tracked bot/list accounts excluded; official accounts are kept separate.",
    "open_with": "https://vega.github.io/editor/ (paste or drop the file) or vega-embed"
  },
  "datasets": {
    "snapshot": [
      {
        "group": "Media vs text",
        "category": "Media",
        "posts": 4285,
        "order": 0
      },
      {
        "group": "Media vs text",
        "category": "Text only",
        "posts": 4583,
        "order": 1
      },
      {
        "group": "How it reached the board",
        "category": "Pulled from X",
        "posts": 8849,
        "order": 2
      },
      {
        "group": "How it reached the board",
        "category": "Submitted",
        "posts": 7,
        "order": 3
      },
      {
        "group": "How it reached the board",
        "category": "Both",
        "posts": 12,
        "order": 4
      },
      {
        "group": "Tag used",
        "category": "$tendies",
        "posts": 7743,
        "order": 5
      },
      {
        "group": "Tag used",
        "category": "#tendies",
        "posts": 188,
        "order": 6
      },
      {
        "group": "Tag used",
        "category": "Both",
        "posts": 64,
        "order": 7
      },
      {
        "group": "Tag used",
        "category": "Plain word",
        "posts": 873,
        "order": 8
      }
    ]
  }
}