Back to dashboards
ComponentChartFree

Marching Ants Line Chart React component

A line chart you measure by dragging: the range gets a marching ants outline, the stats follow it, and the forecast part of the line marches too.

About the Marching Ants Line Chart component

Marching Ants Line Chart turns reading a chart into measuring one. Drag across any stretch of the line and it gets the moving dashed outline you know from image editors, while the total, daily average and change at the top follow your selection.

The same marching dash marks the forecast at the end of the line, so what has happened and what is expected never look alike. The heat cells outside your range dim, which keeps your eye on the part you picked.

When to use it

Use it for analytics where people ask how a campaign, release or season did, and need to compare any stretch of time by hand.

If people only ever look at fixed periods, tabs or a date picker will be quicker.

Installation

Add the Marching Ants Line Chart component to your project with the shadcn CLI. It lands in components/marching-ants-line-chart.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/marching-ants-line-chart

More Chart components

Ghost Trail Line Chart
Free
Neon Pulse Line Chart
Free
Forecast Ribbon Chart
Free
Realtime Line Chart
Free
Barcode Bar Chart
Free
Bullet Chart
Free