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>
);
}








