react-native-chart-kit

Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.

react-native-chart-kit downloads react-native-chart-kit version react-native-chart-kit license

react-native-chart-kitSimilar Packages:

Npm Package Weekly Downloads Trend

3 Years
馃専 Show real-time usage chart on react-native-chart-kit's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of react-native-chart-kit](https://npm-compare.com/img/npm-trend/THREE_YEARS/react-native-chart-kit.png)](https://npm-compare.com/react-native-chart-kit#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

馃専 Show GitHub stars trend chart on react-native-chart-kit's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of react-native-chart-kit](https://npm-compare.com/img/github-trend/react-native-chart-kit.png)](https://npm-compare.com/react-native-chart-kit)

Stat Detail

Package
Downloads
Stars
Size
Issues
Publish
License
react-native-chart-kit75,7033,1111.15 MB64 days agoMIT

README for react-native-chart-kit

React Native Chart Kit

React Native Chart Kit

Beautiful charts for React Native. Line, area, bar, pie, donut, progress, and contribution heatmaps for dashboards, reports, and data-rich mobile apps.

npm downloads license

WebsiteDocsQuickstartExamplesPro

Install

npm install react-native-chart-kit react-native-svg

Expo:

npm install react-native-chart-kit
npx expo install react-native-svg

First Chart

import { LineChart } from "react-native-chart-kit/v2";

const data = [
  { month: "Jan", revenue: 52 },
  { month: "Feb", revenue: 86 },
  { month: "Mar", revenue: 58 },
  { month: "Apr", revenue: 134 }
];

export function RevenueChart() {
  return (
    <LineChart
      data={data}
      xKey="month"
      yKey="revenue"
      width={410}
      height={240}
    />
  );
}

The root import stays available for legacy screens. New screens should use react-native-chart-kit/v2.

What You Get

Pro Charts

Chart Kit Pro adds licensed chart workflows for product dashboards:

Links

Documentation CLI and agent access

Read the public documentation from a terminal:

npx --package=react-native-chart-kit chart-kit docs /docs/react-native/charts/line

Use chart-kit docs to list pages or add --json for structured output. The CLI ships from version 7.0.4. No API key is required. Charts render locally in your application; the HTTP API serves documentation.

See the developer guide, agent instructions, and OpenAPI specification.