Area Chart

A chart that displays quantitative data using a filled area below a line, useful for showing volume or cumulative values over time.


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/area-chart/area-chart.tsx
import { type AreaChartStyles, areaChartStyles } from './area-chart.css'
 
const AreaChart = () => {
  return null
}
 
export { AreaChart }

Usage

Imports

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

Example

Browse the Storybook for more examples.

Anatomy

// WIP
Edit on GitHub

Last updated on 3/27/2025

On this page