Skip to content

Linked Chart

A chart component that stays in sync with a shadcn data table, so dragging on the chart filters rows.

linked-chart.vercel.app

Linked Chart website screenshot
Added
GitHub stars
70

About

About Linked Chart

Linked Chart is a React component that links a chart and a data table. Changes in one are reflected in the other, and dragging across the chart filters the table rows. It is built on shadcn charts, which use Recharts, with TanStack Table for the table, inside a Next.js demo.

The README lists multiple date groupings, such as month, quarter and year, and area or bar charts. To use it, copy the single linked-chart.tsx file, import LinkedChart in your DataTable component, define an aggregator config for the series and pass it the filtered row data and setColumnFilters. The repository states no license and was last pushed in May 2025. It builds on the zoom-chart-demo project.

Linked Chart features

6 features

  • Chart and table kept in sync
  • Drag on the chart to filter rows
  • Area and bar chart types
  • Month, quarter and year grouping
  • Single-file source
  • Aggregation config

What you can build with Linked Chart

3 use cases

  • Exploring transactions by dragging over a date range
  • Adding a summary chart above a data table
  • Building a finance dashboard with linked filtering

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Linked Chart is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro