lumesec

Pixel Bar Chart

Dashboards 7

About

A canvas-drawn bar chart with a retro pixel look whose bars grow in cell by cell and spring to new data, showing exact values in a tooltip on hover or arrow-key navigation.

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

Code

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

Usage.tsx

import PxBars from "@/components/ui/px-bars";

export default function PxBarsDemo() {
  return (
    <div className="flex w-full items-center justify-center bg-background p-10 text-foreground">
      <div className="w-full max-w-md">
        <PxBars
          label="Runs per day"
          unit="runs"
          data={[
            { label: "Mon", value: 12 },
            { label: "Tue", value: 18 },
            { label: "Wed", value: 9 },
          ]}
        />
      </div>
    </div>
  );
}

More by lumesec

View all
  • Geo Traceroute

    Geo Traceroute

    93
  • Effort Slider

    Effort Slider

    65
  • Connection Globe

    Connection Globe

    34
  • Date Picker

    Date Picker

    29
  • Region Picker

    Region Picker

    26
  • Rotary Dial

    Rotary Dial

    26
  • Live Visitors Map

    Live Visitors Map

    18
  • Pixel Toaster

    Pixel Toaster

    15

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