Type of Graph using React Native Chart Kit

GEITPL
2 min readMay 19, 2021

This is an example to create Different Type of Graph using React Native Chart Kit for Android and IOS. Charts/Graphs are the easiest and efficient way to showcase any data. With the help of the chart/graph, One can easily see the numeric data or the statics. The understanding of the statics using the Chart/Graph makes it more demanding for any application. You have generally seen charts in the accounting apps like expense sharing. If you are planning to make your own app that needs to create the Chart/Graph then here is the example for you.

Type of Chart / Graph

You can use React Native Chart Kit to make the following type of Chart / Graph:

  1. Bezier LineChart
  2. LineChart
  3. Progress Chart
  4. Bar Chart

To Make a React Native App

npm install -g react-native-cli

Run the following commands to create a new React Native project

react-native init ProjectName

Installation of Dependencies

To install these open the terminal and jump into your project using

cd ProjectName

Run the following command to install

npm install react-native-chart-kit --save

These commands will copy all the dependencies into your node_module directory.

CocoaPods Installation

After the updation of React Native 0.60, they have introduced autolinking so we do not require to link the library but need to install pods. So to install pods use

cd ios && pod install && cd ..

Hope you loved it..

Thanks..

--

--

GEITPL
0 Followers

Software Development Company