About
A small-multiples histogram chart that facets body-mass distributions by category (e.g. species) into stacked rows for easy shape comparison.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Faceted Distributions to your project and fits it to your theme.
Code
How Faceted Distributions is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import FacetedDistributions from "@/components/ui/tanstack-charts-faceted-distributions";
export default function FacetedDistributionsDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<FacetedDistributions />
</div>
);
}








