Pace UI

Ridgeline Density Chart

Component

About

An overlapping ridgeline density plot that compares multiple continuous distributions as stacked mountain curves, useful for visualizing how a metric's distribution shifts across categories or time periods.

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

Code

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

Usage.tsx

import { RidgelineDensity } from "@/components/ui/tanstack-charts-ridgeline-density";

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

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    965
  • Flip Reveal

    Flip Reveal

    670
  • Dot Flow

    Dot Flow

    270
  • Draw Line Text

    Draw Line Text

    122
  • Liquid Glass

    Liquid Glass

    65
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    48
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    21

Explore more

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