About
A scatter plot card that compares each time-series value against its previous timestep to visualize lag-one autocorrelation, useful for spotting trend persistence in stock or metric data.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Lag Autocorrelation Chart to your project and fits it to your theme.
Code
How Lag Autocorrelation Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import LagAutocorrelation from "@/components/ui/tanstack-charts-lag-autocorrelation";
export default function DemoLagAutocorrelation() {
return (
<div className="flex items-center justify-center p-8">
<LagAutocorrelation />
</div>
);
}








