Isaiah

Weekly KPI Chart

Dashboards 88

About

This is an interactive day-based data chart that visualizes values (like revenue or activity) using minimalistic vertical lines and animated gradient highlights. It’s perfect for dashboards or financial summaries where users need quick, clean visual feedback with a focus on a specific day.

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

Code

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

Usage.tsx

"use client";

import {
  WeeklyKPIChart,
  type DayPoint,
} from "@/components/ui/weekly-kpi-chart";

const settings = {
  width: 500,
  height: 380,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  const sampleData: DayPoint[] = [
    { day: "S", value: 1200 },
    { day: "M", value: 1800 },
    { day: "T", value: 2567 },
    { day: "W", value: 1600 },
    { day: "T", value: 2200 },
    { day: "F", value: 2400 },
    { day: "S", value: 1900 },
  ];

  return (
    <div className="w-full max-w-lg mx-auto items-center justify-center">
      <WeeklyKPIChart
        data={sampleData}
        width={s.width}
        height={s.height}
        className="bg-white rounded-lg mt-10"
      />
    </div>
  );
}

Dependencies

More by Isaiah

View all
  • Agent Plan

    Agent Plan

    2.3K
  • Voice Powered Orb

    Voice Powered Orb

    1.6K
  • Video Scroll Hero

    Video Scroll Hero

    1.5K
  • Reveal Text

    Reveal Text

    1.1K
  • Portfolio Gallery

    Portfolio Gallery

    1K
  • Leads Data Table

    Leads Data Table

    982
  • Message Dock

    Message Dock

    878
  • Ruler Carousel

    Ruler Carousel

    685

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    659
  • Analytics Dashboard

    Analytics Dashboard

    59
  • Creator Dashboard

    Creator Dashboard

    208
  • Insights Dashboard

    Insights Dashboard

    35
  • serf dashboard

    serf dashboard

    137
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    293
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Business/Sales Dashboard

    Business/Sales Dashboard

    1.5K