Line Chart

A chart that displays information as a series of data points connected by straight line segments.


Automatic Installation

This method is still working on progress, please use manual installation for now.

Manual Installation

Install dependencies

npm install radix-ui

Copy the code

components/line-chart/line-chart.tsx
import { type LineChartStyles, lineChartStyles } from './line-chart.css'
 
const LineChart = () => {
  return null
}
 
export { LineChart }

Usage

Imports

import {} from '#/components/line-chart'

Example

Browse the Storybook for more examples.

Anatomy

// WIP
Edit on GitHub

Last updated on 3/27/2025

On this page