How do I make a stacked bar chart from my data?
Choose a local CSV, Excel, JSON or Parquet file, or paste CSV with a header row. Choose the fields in the controls to draw and edit your chart; xmetric processes the data in this browser.
No data loaded. Choose your own file or try the sample.
What does a stacked bar chart show?
A stacked bar chart splits each aggregated bar into component series.
Definition source: Stacked bar chart reference. xmetric uses its own native chart engine.
What does the stacked bar chart sample show?
For this sample, choose Period as the category, Value as the measure and Category as the series. Period 1 contributes 12 from North and Period 2 contributes 18 from South.
Source: the illustrative input rows below, also supplied by Try sample data. This is an example, not a result from your file.
| Period | Category | Value | Other | Size |
|---|---|---|---|---|
| 1 | North | 12 | 8 | 3 |
| 2 | South | 18 | 13 | 6 |
| 3 | North | 15 | 17 | 4 |
| 4 | South | 24 | 21 | 9 |
| 5 | North | 20 | 19 | 5 |
| 6 | South | 28 | 30 | 8 |
When should I choose a stacked bar chart instead of a bar chart?
Use a single-series bar chart when the split into components is not part of the question.
| Chart | Use it for |
|---|---|
| Stacked bar chart | A stacked bar chart splits each aggregated bar into component series. |
| Bar chart | Use a single-series bar chart when the split into components is not part of the question. |
What limits apply to my data?
These limits apply to tabular imports, not native Power BI or Tableau report compatibility. File size and browser memory limit what xmetric can open. Group large datasets before drawing a chart.
| Limit | Current behavior |
|---|---|
| File size | 32 MiB on constrained devices; 160 MiB otherwise |
| Imported rows | Up to 3,500,000 |
| Chart marks | Up to 10,000 |
| Download | SVG chart |
Source: xmetric limits and verification record, checked 2026-10-27. These are product limits, not file-format limits.
Can I chart a CSV without uploading my data?
Yes. xmetric reads the selected file or pasted CSV in your browser. Opening and editing this local chart does not upload the file.
Which columns does this stacked bar chart need?
Compare category totals split into a series. Start with Category and Value. Choose the additional series, target or date fields when the controls request them.
Can I export the chart and keep editing it?
Yes. Download SVG for a static chart, or choose Continue editing in xmetric to carry the data and selected chart into the app. Check the chart before sharing it.