# Marketing Case Study: Story With Before After Chart

A customer narrative and quote beside grouped bars comparing three metrics before and after Acme.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/story-with-before-after-chart
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Case Studies](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies)
- Created: 2026-06-15
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/story-with-before-after-chart.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-case-studies-story-with-before-after-chart
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: radix-ui
- shadcn/ui components: avatar, avatars
- Installs to: `@/components/blocks/marketing-pro/case-studies/story-with-before-after-chart`

## About this block

Story With Before After Chart is a two-column case study. The left
column carries a company name in a semibold label, a heading that states
the outcome, two short narrative paragraphs, and a ruled quote figure
with an avatar, a name, and a role. The right column is a bordered chart
card: a grouped bar chart built from plain divs, with three metric
groups of two bars each and a two chip legend that maps the light and
solid bars to the before and after states.

Every bar group lives in one array entry holding a label, the before
and after display values, and the two bar heights, so you can retell the
story with different numbers without touching the layout. The company
name, heading, paragraphs, and quote are independent copy strings, and
the legend labels are plain text you can rename to match any comparison,
such as last year versus this year.

## When to use

Use this block when the most persuasive part of a customer story is the
contrast between life before the product and life after it. It is a
stronger choice than [Metrics Spotlight](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/metrics-spotlight)
when single numbers need a baseline to feel impressive, and a stronger
choice than [Quote Led Story](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/quote-led-story)
when the data deserves equal billing with the testimonial. Reach for
[Results Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/results-table) instead
when you have many metrics and the visual comparison would get crowded.

A natural flow around it on a Marketing Pro page:

**Before**

- A [Heroes](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections) block to set the
  product promise that this story will prove
- [Features](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/feature-sections) to explain the
  capabilities behind the improvement

**After**

- [Testimonials](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/testimonials) to widen the proof
  from one customer to many voices
- A [CTAs](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/ctas) block to convert readers while
  the comparison is fresh

## What you can display

The block is built for one customer whose results improved across a few
measurable dimensions. A few other ways to use the frame:

- **A migration story.** Compare lead volume, campaign throughput, and
  response rates from the quarter before the switch to the quarter
  after, and let the narrative explain what changed.
- **A team productivity gain.** Chart hours spent on reporting, time to
  launch, and review cycles, with the quote confirming that the gains
  held up after the novelty wore off.
- **A seasonal benchmark.** Use the legend to label two comparable
  periods, such as this holiday season against the last one, so growth
  reads as repeatable rather than lucky.

> Tip: keep the two bars in each group roughly proportional to the real
> values so readers who check the numbers find the chart honest.

## More in Marketing Case Studies

- [Anonymous Results Compact](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/anonymous-results-compact)
- [Before After Panels](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/before-after-panels)
- [Challenge Solution Results](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/challenge-solution-results)
- [Dark Panel Feature](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/dark-panel-feature)
- [Featured Story](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/featured-story)
- [Featured With List](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/featured-with-list)
- [Growth Chart Story](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/growth-chart-story)
- [Industry Tabs](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/industry-tabs)
- [Interview Story](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/interview-story)
- [Logo Rows With Results](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/logo-rows-with-results)
- [Metrics Spotlight](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/metrics-spotlight)
- [Mini Results Grid](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/mini-results-grid)
- [Quote Led Story](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/quote-led-story)
- [Quote With Radial Stats](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/quote-with-radial-stats)
- [Results Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/results-table)
- [Results With Area Chart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/results-with-area-chart)
- [Roi Summary Cards](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/roi-summary-cards)
- [Savings Breakdown](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/savings-breakdown)
- [Split With Quote](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/split-with-quote)
- [Stakeholder Voices](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/stakeholder-voices)
- [Stat Callout Story](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/stat-callout-story)
- [Story Accordion](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/story-accordion)
- [Story Carousel](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/story-carousel)
- [Story Grid](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/story-grid)
- [Story With Fact Sheet](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/story-with-fact-sheet)
- [Timeline With Metrics](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/timeline-with-metrics)
- [Video Case Row](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/case-studies/video-case-row)
