Pace UI

Population Pyramid Chart

Component

About

A bilateral horizontal bar chart that mirrors male versus female population counts across age brackets around a center axis, for demographic dashboards and reports.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Population Pyramid Chart to your project and fits it to your theme.

Code

How Population Pyramid Chart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { PopulationPyramid } from "@/components/ui/tanstack-charts-population-pyramid";

export default function Demo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <PopulationPyramid />
    </div>
  );
}

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    974
  • Flip Reveal

    Flip Reveal

    670
  • Dot Flow

    Dot Flow

    270
  • Draw Line Text

    Draw Line Text

    123
  • Liquid Glass

    Liquid Glass

    65
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    50
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    22

Explore more

Part of Pace UI — browse the full library on 21st.dev.