About
A dual overview-and-detail line chart where dragging a brush selector on the small overview pans and zooms the detailed chart above it, useful for exploring long time-series data like stock prices.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Focus Context Window to your project and fits it to your theme.
Code
How Focus Context Window is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import FocusContextWindow from "@/components/ui/tanstack-charts-focus-context-window";
export default function Demo() {
return (
<div className="flex w-full items-center justify-center p-8">
<FocusContextWindow />
</div>
);
}








