Interactive Area Chart
Interactive Area Chart: A hand-written, dependency-free interactive SVG area chart with interruptible dataset morphing, Catmull-Rom spline resampling, scrubbing tooltip, and keyboard accessibility. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Interactive Area Chart
npx motion-ui-skill add interactive-area-chartComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Interactive Area Chart
A hand-written, dependency-free interactive SVG area chart with interruptible dataset morphing, Catmull-Rom spline resampling, scrubbing tooltip, and keyboard accessibility.
Install
npx motion-ui-skill add interactive-area-chart
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import { InteractiveAreaChart as InteractiveAreaChart } from "@/components/craft/interactive-area-chart";
export function Example() {
return (
<div className="p-6">
<InteractiveAreaChart />
</div>
);
}