{
  "$schema": "https://pivograph.com/schemas/project/v1.json",
  "format": "pivograph-project",
  "schemaVersion": 1,
  "generator": {
    "name": "PivoGraph",
    "version": "1.4.0",
    "url": "https://pivograph.com"
  },
  "createdAt": "2026-09-17T15:55:36.462Z",
  "modifiedAt": "2026-09-17T15:55:36.462Z",
  "meta": {
    "title": "Tumor Microenvironment across Breast Cancer Subtypes",
    "description": "Synthetic fractions of CD8+ T cells, TAMs, and MDSCs in basal-like, HER2+, and luminal A tumor microenvironments. Stacked bars use fractions that already sum to one for each subtype.",
    "authors": [
      "PivoGraph"
    ],
    "license": "CC0-1.0",
    "source": "Synthetic data generated for this example"
  },
  "view": {
    "activeTableId": "ds-bbd304ee-09b1-499c-8a19-89af37b1b00c",
    "workspaceView": "graph"
  },
  "tables": [
    {
      "id": "ds-bbd304ee-09b1-499c-8a19-89af37b1b00c",
      "name": "TME immune fraction",
      "format": "grouped",
      "replicates": 1,
      "rowLabels": [
        "Basal-like",
        "HER2+",
        "Luminal A"
      ],
      "dataSets": [
        {
          "name": "CD8+ T cells",
          "title": "CD8+ T cells",
          "values": [
            [
              0.67
            ],
            [
              0.46
            ],
            [
              0.66
            ]
          ]
        },
        {
          "name": "TAMs",
          "title": "TAMs",
          "values": [
            [
              0.21
            ],
            [
              0.34
            ],
            [
              0.22
            ]
          ]
        },
        {
          "name": "MDSCs",
          "title": "MDSCs",
          "values": [
            [
              0.12
            ],
            [
              0.2
            ],
            [
              0.12
            ]
          ]
        }
      ],
      "graph": {
        "variantId": "grouped-stacked-bars",
        "plot": {
          "family": "grouped",
          "options": {
            "mode": "meanWithSd",
            "flipXY": false,
            "showTruncatedViolin": false,
            "pointLayout": "scatter",
            "seriesAlign": "aligned"
          }
        },
        "activePresetId": "modern",
        "applyPresetNonColor": false,
        "styleOverrides": {
          "global": {},
          "perDataSet": {
            "CD8+ T cells": {
              "bar": {
                "fill": {
                  "hex": "#7076b6",
                  "alpha": 1
                },
                "borderColor": {
                  "hex": "#000000",
                  "alpha": 1
                },
                "borderWidth": 0.5
              }
            },
            "TAMs": {
              "bar": {
                "fill": {
                  "hex": "#61bc67",
                  "alpha": 1
                },
                "borderColor": {
                  "hex": "#000000",
                  "alpha": 1
                },
                "borderWidth": 0.5
              }
            },
            "MDSCs": {
              "bar": {
                "fill": {
                  "hex": "#88898d",
                  "alpha": 1
                },
                "borderColor": {
                  "hex": "#000000",
                  "alpha": 1
                },
                "borderWidth": 0.5
              }
            }
          },
          "perPoint": {}
        },
        "graphSettingsOverride": {
          "barWidthRatio": 0.65,
          "firstGapRatio": 0.15,
          "lastGapRatio": 0.15
        },
        "axesOverrides": {
          "frameAndOrigin": {
            "frameStyle": "frameWithTicksInward",
            "segmentXAxisByCluster": false,
            "majorGrid": {
              "show": false,
              "color": "theme",
              "thickness": 0.5,
              "dashStyle": "solid"
            }
          },
          "xCategorical": {},
          "xContinuous": {},
          "leftY": {
            "rangeMin": 0,
            "rangeMax": 1,
            "majorTickInterval": 0.1,
            "ticks": {
              "direction": "left",
              "length": "normal"
            }
          },
          "rightY": {},
          "titlesAndFonts": {
            "graphTitle": {
              "show": false,
              "distance": 6,
              "rotation": "horizontal",
              "font": {
                "family": "Arial, Helvetica, sans-serif",
                "size": 10,
                "bold": true,
                "italic": false
              }
            },
            "xAxisTitle": {
              "show": false,
              "distance": 4,
              "rotation": "horizontal",
              "font": {
                "family": "Arial, Helvetica, sans-serif",
                "size": 9,
                "bold": true,
                "italic": false
              }
            }
          }
        },
        "plotGeometry": {
          "widthPt": 230.0000010592694,
          "heightPt": null
        },
        "dataSetVisibility": {},
        "elementActivation": {
          "global": {},
          "perDataSet": {},
          "graph": {}
        },
        "legend": {
          "visibility": "auto",
          "dx": 1.499999908538939,
          "dy": 29.99999741376479,
          "fontFamily": "Arial, Helvetica, sans-serif",
          "fontSize": 10,
          "textColor": {
            "hex": "#000000",
            "alpha": 1
          },
          "bold": false,
          "italic": false,
          "keyScale": 1,
          "keyTextGap": 7,
          "itemGap": 32.5,
          "orientation": "vertical",
          "rotation": 0,
          "ungrouped": true,
          "sampleMode": "symbolLine",
          "itemOverrides": {
            "0": {
              "dx": 0,
              "dy": 93.01211685769334
            },
            "2": {
              "dx": -0.000002960536505725031,
              "dy": -93.38712976286484
            }
          },
          "partsOfWhole": {
            "label": true,
            "value": false,
            "percentage": false
          }
        },
        "partsOfWholeBorders": {
          "outer": {
            "color": {
              "hex": "#000000",
              "alpha": 1
            },
            "thicknessPt": 1
          },
          "inner": {
            "color": {
              "hex": "#000000",
              "alpha": 1
            },
            "thicknessPt": 0.5
          }
        }
      },
      "titles": {
        "y": {
          "text": "Immune cell fraction",
          "dx": -9.749999405501768,
          "dy": 0,
          "fontSize": 10
        }
      }
    }
  ]
}