Skip to content
Prism
Sign In Get started

Prism · worked guide

Stacked bar charts: show the total and the mix

A stacked bar chart divides each category’s bar into component series. The complete height shows the category total; each colored segment shows one contribution. Keep the same series order across bars and display units clearly. Use a 100% stacked chart when the question is proportional mix rather than absolute size.

Make a chart from your data →

A worked workflow

Three datasets, three different part-to-whole questions

A stacked bar chart compares totals and their component parts across categories. Choose it for that question, retain the input table, and inspect a different chart when the middle segments are the main comparison.

Compare three different part-to-whole questions

The task example keeps completed and remaining work on a common 80-task total. The budget example compares department composition and unequal totals in USD thousands. The enquiry example uses supplied percentages that sum to 100 in each month. Each SVG was rendered by Prism's actual deterministic chart service with the shared Bold default, and has an exact source CSV and chart payload.

Actual Bold stacked workload chart for three weeks with an 80-task total
Completed 32/48/63 and remaining 48/32/17 tasks. The common total makes progress comparable. Open full size ↗
Actual Bold stacked department budget chart in USD thousands
People, tools and travel are parts of each department's supplied budget. Totals differ. Open full size ↗
Actual Bold stacked enquiry mix chart with supplied monthly percentages
Direct, referral and search sum to 100 each month. Absolute enquiry totals were not supplied. Open full size ↗

Fictional supplied data. The third example supplies percentages; it does not demonstrate automatic normalization or establish enquiry volume. A static SVG remains a static export; native PowerPoint editing is a separate handoff. Existing deliberately saved themes are not changed by the Bold default.

Actual Bold Prism stacked bars showing fictional completed and remaining tasks for three teams
Actual product-tool output. Open full size ↗

The supplied brief

Revenue dataset
North: 360 installation, 180 maintenance, 120 monitoring. East: 420, 220, 160. All values are fictional USD thousands.
Workload dataset
Three teams with completed and remaining tasks. Counts describe work items, not currency or a measured productivity effect.
Mix dataset
Three channels with different totals. A percentage view answers share; an absolute stack answers total and composition.
Meaning
Keep categories, series, units, axis labels and the absolute-versus-percentage choice explicit.
  1. Inspect the imported grid

    Paste CSV/TSV or import the workbook, choose the sheet and check categories, series, blanks and numeric formatting.

    Inspect: North’s supplied revenue total is 660 and East’s is 800. A missing value is not automatically a measured zero.

  2. Use the stack for its intended comparison

    Preview the stacked bars and compare the totals with the source table.

    Inspect: The first series has a common baseline; middle segments do not. Use a grouped bar or another suitable form if precise segment comparison is the reader’s main task.

  3. Keep color and data semantics consistent

    Start with Bold, use a stable color per series, and inspect labels, legend, contrast and alternative text.

    Inspect: A saved or explicitly selected palette remains respected. Sequential or diverging data needs colors appropriate to its numeric meaning.

  4. Edit, render and inspect the export

    Change one source value, review the resulting preview and inspect the exported SVG or other offered format.

    Inspect: A changed chart type can retain a data shape that needs correction. Compare the actual output and source rather than assuming a successful render proves the data is suitable.

Before approving the result

  • Reconcile every displayed total with the supplied rows.
  • Do not compare percentage and absolute totals without labelling the change.
  • Keep the data table available alongside the visual.

Three fictional supplied datasets and real deterministic Prism output. Inspect revenue, workload and channel composition separately; no customer-performance result is implied.

Prism · real output

See the supplied values in the finished visual.

Actual Prism stacked-bar output rendered from the fictional inputs shown
Related worked example · Stacked Bar — fictional example. View full size ↗

Inspect an actual output, then use the appropriate maker for your own data shape. Structured charts, diagrams and composed artwork offer different editing tools and export options.

Stacked Bar — fictional example

A current Prism render from explicitly supplied fictional inputs. Inspect the full-size output, original request and rendered HTML together.

Inspect the source brief or data

Region,Installation,Maintenance,Monitoring North,360,180,120 East,420,220,160 South,280,160,100 West,510,260,190

Read the sample review notes

Fictional demonstration data, not customer results. Check labels, units, branches and all supplied values before reuse.

Prepare the structure

Paste CSV/TSV or import an Excel workbook, choose its sheet and inspect the grid. Map categories and series, then check the shape required by the selected chart family.

Refine with meaning

Choose legible type, deliberate colors, labels and units. Brand bold is the default for new visuals, in the Bold colors until a saved Brand Kit applies; a saved or explicitly selected theme remains yours. Check figures against your source and inspect retained data after a chart-type change.

Inspect and share

Read the chart data table or diagram labels, add appropriate alternative text and inspect the actual export. Review and publication permissions are separate from clean-output download rights.

Data mapping, chart objects and accessibility

Inspect an imported workbook's sheet and cells, edit the data grid and choose series and category mappings. Chart-specific shape checks, axes, numeric formatting, labels and legends affect the reading. Review alternative text, long descriptions and the data table. A changed chart type can retain data that needs reshaping.

Graphs, compositions and connected data

Review nodes and branches, Mermaid interchange and saved revision comparisons for structured diagrams. Compositions can combine visual blocks with brand type and colors. Their editing tools differ from those used for structured charts. Connected data controls offer bounded filtering, sorting, column selection, row limits and supported calculated columns; inspect a refresh before accepting changed source values.

Campaign assets and print proofs

Campaign kits support channel choices, sized artwork, photos and crops, captions, selected-channel regeneration and review of edited copy. Print controls cover copy, layout, photo placement, fit, density and proof checks. Print supports English, Germanic, Latin, Cyrillic, Arabic, Indian, Chinese, Korean and Japanese language/script groups. Inspect the actual export and destination requirements.

Color and preflight options are checks with defined scope, not accessibility certification. Structured SVG editability does not imply that composed raster artwork has the same editing model.

Read the regional-revenue example

This filled example is an editorial explanation of the structure. The related real product output above is separately identified.

Read the regional-revenue example
PartExample and review point
NorthInstallation 360 + maintenance 180 + monitoring 120 = 660.
East420 + 220 + 160 = 800.
South280 + 160 + 100 = 540.
West510 + 260 + 190 = 960.
UnitsEvery figure is USD thousands; all values are fictional sample data.

Choose the comparison your reader needs

The West bar is tallest because its total is 960; installation is its largest component at 510. A segment that starts above the baseline is harder to compare precisely across categories. If the main question is which region has more maintenance revenue, a grouped bar or a direct value table may be clearer. Keep a readable data table beside the chart, use series labels consistently and inspect how zero or negative values behave before sharing.

Compare bar chart choices → · Review pie chart colors and labels →

Updated