{"$schema":"https://pptx.dev/schema/registry.schema.json","name":"Stacked Bar","type":"registry:chart","registry_url":"https://www.pptx.gallery/registry/charts/stacked-bar.json","dependencies":[],"opf_version":"1.0","slug":"stacked-bar","category":"charts","description":"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.","web_url":"https://www.pptx.gallery/charts/stacked-bar","opf":[{"name":"default","label":"Default OPF snippet","language":"json","source":"{\n  \"$schema\": \"https://openpresentation.org/schema/opf/v1\",\n  \"name\": \"PPTX.gallery — charts/stacked-bar\",\n  \"description\": \"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.\",\n  \"tags\": [\n    \"gallery:charts/stacked-bar\"\n  ],\n  \"slides\": [\n    {\n      \"id\": \"gallery-preview-1\",\n      \"layout\": \"data-visualization\",\n      \"title\": \"Stacked Bar\",\n      \"subtitle\": \"Rank or compare categories when horizontal labels need room.\",\n      \"chart\": {\n        \"type\": \"stacked-bar\",\n        \"data\": {\n          \"columns\": [\n            \"Category\",\n            \"Value 1\",\n            \"Value 2\",\n            \"Value 3\"\n          ],\n          \"rows\": [\n            [\n              \"Q1 2024\",\n              19099,\n              99065,\n              33405\n            ],\n            [\n              \"Q2 2024\",\n              46585,\n              80282,\n              86099\n            ],\n            [\n              \"Q3 2024\",\n              56025,\n              53404,\n              44795\n            ],\n            [\n              \"Q4 2024\",\n              94080,\n              13617,\n              15014\n            ],\n            [\n              \"Q1 2025\",\n              76768,\n              25118,\n              24208\n            ],\n            [\n              \"Q2 2025\",\n              62386,\n              44237,\n              88193\n            ]\n          ]\n        }\n      },\n      \"design\": {\n        \"contentBox\": false,\n        \"contentAlignment\": \"left\",\n        \"titleAlignment\": \"left\",\n        \"contentDirection\": \"horizontal\"\n      }\n    }\n  ]\n}","value":{"$schema":"https://openpresentation.org/schema/opf/v1","name":"PPTX.gallery — charts/stacked-bar","description":"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.","tags":["gallery:charts/stacked-bar"],"slides":[{"id":"gallery-preview-1","layout":"data-visualization","title":"Stacked Bar","subtitle":"Rank or compare categories when horizontal labels need room.","chart":{"type":"stacked-bar","data":{"columns":["Category","Value 1","Value 2","Value 3"],"rows":[["Q1 2024",19099,99065,33405],["Q2 2024",46585,80282,86099],["Q3 2024",56025,53404,44795],["Q4 2024",94080,13617,15014],["Q1 2025",76768,25118,24208],["Q2 2025",62386,44237,88193]]}},"design":{"contentBox":false,"contentAlignment":"left","titleAlignment":"left","contentDirection":"horizontal"}}]}}],"copy_targets":[{"name":"registry_url","label":"Registry URL","content_type":"text/plain","value":"https://www.pptx.gallery/registry/charts/stacked-bar.json"},{"name":"web_url","label":"Gallery URL","content_type":"text/plain","value":"https://www.pptx.gallery/charts/stacked-bar"},{"name":"opf:default","label":"Default OPF snippet","content_type":"application/json","value":"{\n  \"$schema\": \"https://openpresentation.org/schema/opf/v1\",\n  \"name\": \"PPTX.gallery — charts/stacked-bar\",\n  \"description\": \"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.\",\n  \"tags\": [\n    \"gallery:charts/stacked-bar\"\n  ],\n  \"slides\": [\n    {\n      \"id\": \"gallery-preview-1\",\n      \"layout\": \"data-visualization\",\n      \"title\": \"Stacked Bar\",\n      \"subtitle\": \"Rank or compare categories when horizontal labels need room.\",\n      \"chart\": {\n        \"type\": \"stacked-bar\",\n        \"data\": {\n          \"columns\": [\n            \"Category\",\n            \"Value 1\",\n            \"Value 2\",\n            \"Value 3\"\n          ],\n          \"rows\": [\n            [\n              \"Q1 2024\",\n              19099,\n              99065,\n              33405\n            ],\n            [\n              \"Q2 2024\",\n              46585,\n              80282,\n              86099\n            ],\n            [\n              \"Q3 2024\",\n              56025,\n              53404,\n              44795\n            ],\n            [\n              \"Q4 2024\",\n              94080,\n              13617,\n              15014\n            ],\n            [\n              \"Q1 2025\",\n              76768,\n              25118,\n              24208\n            ],\n            [\n              \"Q2 2025\",\n              62386,\n              44237,\n              88193\n            ]\n          ]\n        }\n      },\n      \"design\": {\n        \"contentBox\": false,\n        \"contentAlignment\": \"left\",\n        \"titleAlignment\": \"left\",\n        \"contentDirection\": \"horizontal\"\n      }\n    }\n  ]\n}"}],"metadata":{"category":"charts","source_dimension":"charts","slug":"stacked-bar","page_url":"https://www.pptx.gallery/charts/stacked-bar","api_url":"https://www.pptx.gallery/api/charts.json","playground_url":"https://www.pptx.dev/inspector?config=charts:stacked-bar","opf_schema":{"name":"OPF Chart Preset","url":"https://openpresentation.org/schema/opf-chart-type/v1"},"source":{"$schema":"https://openpresentation.org/schema/opf-chart-type/v1","id":"stacked-bar","name":"Stacked Bar","type":"STACKED_BAR","categories":6,"columns":["Series 1","Value 1","Value 2","Value 3"],"group":"Bar","groupSort":4,"series":3,"seriesGroups":1,"useSecondaryCategories":false,"workbookRange":"Sheet1!$A$1:$G$4","complexity":"simple","dataColumns":[{"name":"Series 1","role":"categoryLabel","type":"string","position":"row0_col0"},{"name":"Value 1","role":"series","type":"number","position":"row1_col0"},{"name":"Value 2","role":"series","type":"number","position":"row2_col0"},{"name":"Value 3","role":"series","type":"number","position":"row3_col0"}],"sampleData":{"headers":["Series 1","Q1 2024","Q2 2024","Q3 2024","Q4 2024","Q1 2025","Q2 2025"],"rows":[["Value 1",19099,46585,56025,94080,76768,62386],["Value 2",99065,80282,53404,13617,25118,44237],["Value 3",33405,86099,44795,15014,24208,88193]]},"preview":{"src":"https://www.pptx.gallery/media/chart-previews/stacked-bar-3x.6a8d99c21095.png","vectorSrc":"https://www.pptx.gallery/media/chart-previews/stacked-bar-3x.b886ab99ccde.svg"},"description":"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.","use_case":"Rank or compare categories when horizontal labels need room.","data_requirements":"3 series, 6 categories, flat category/series workbook","recommended_color_schemes":["corporate-trust","elegant-neutral"],"when_to_use":"Use when category names are long, ranking is the main story, or progress should read left to right.","when_to_avoid":"Avoid for dense time-series narratives where a line or area chart communicates direction better.","best_practices":["Sort bars by value when ranking","Use a single accent for the key item","Keep category labels readable"]}}}