Skip to main content

5 best angular chart libraries on GitHub

In this post, we are going to explore the 5 best angular charts available on GitHub in terms of their popularity. We have considered the chart's popularity based on the stars given to the repo. So let's start - 

1. ngx-charts - 

This chart is very popular in the developer community and it provides various types of charts - 

Chart Types
  • Horizontal & Vertical Bar Charts (Standard, Grouped, Stacked, Normalized)
  • Line
  • Area (Standard, Stacked, Normalized)
  • Pie (Explodable, Grid, Custom legends)
  • Bubble
  • Donut
  • Gauge (Linear & Radial)
  • Heatmap
  • Treemap
  • Number Cards

Install

To use ngx-charts in your project install it via npm:

npm i @swimlane/ngx-charts --save
For more information, please visit the Git repository https://github.com/swimlane/ngx-charts.

2. ng2-charts - 

This chart is also popular and easy to implement. 

Chart Types - 
  • Line Chart
  • Pie Chart
  • Bar Chart
  • Doughnut Chart
  • Radar Chart
  • Polar Area Chart
  • Bubble Chart
  • Scatter Chart

Install

To use ng2-charts in your project, install it via npm:

npm install ng2-charts@2.2.4 --save
For more information, please visit the Git repository https://github.com/valor-software/ng2-charts

3. Angular-nvD3 -

 This library has a wide variety of charts and an easy way of implementation.

Chart Types - 
  • Line Chart
  • Cumulative Line Chart
  • Stacked Area Chart
  • MultiBar Chart
  • DiscreteBar Chart
  • HistoricalBar Chart
  • MultiBar Horizontal Chart
  • Pie Chart
  • Scatter Chart
  • Line with Focus Chart
  • Scatter + Line Chart
  • Line + Bar with Focus Chart
  • Donut Chart
  • Bullet Chart
  • Sparkline Chart
  • Parallel Coordinates
  • Multi Chart
  • Candlestick Chart
  • Sunburst Chart
  • OHLC Chart
  • Box Plot Chart
  • Force Directed Graph

Install

To use Angular-nvD3 library in your project, install it via npm. You can install/include this library using bower and cdnjs as well.

npm install angular-nvd3
For more information, please visit the Git repository https://github.com/krispo/angular-nvd3

4. highcharts-angular -

Although this library is not much popular on git but it has a lot of good liberty to implement.

Install

To use highcharts-angular library in your project, install it via npm.

npm install highcharts-angular --save

For more information, please visit the Git repository https://github.com/highcharts/highcharts-angular

5. ng2-google-charts -

This library is not popular. You can use this as per your need only.

Install

To use ng2-google-charts library in your project, install it via npm.

npm i --save ng2-google-charts
For more information, please visit the Git repository https://github.com/gmazzamuto/ng2-google-charts.
We have prepared this list with best of our search but there might be some other
libraries which may suite you better as per the requirement.

Hope this will help you. Suggestions are most welcome. Keep visiting my blog :)

Comments

Popular posts from this blog

Working with MPAndroidChart (how to create Bar Chart using MPAndroidChart)

Hi Friends, In this tutorial i am going to show, "How to create Bar Chart using MPAndroidChart". There is a lot of libraries for creating charts in android like AChartEngine, MpAndroidChart, AndroidPlot etc. Your first question may be, Why MPAndroidChart. So MpAndroidChart provides better animation functionality and easy to use in comparision. Using  MPAndroidChart library  we can draw a: ·          Simple Bar Chart ·          Grouped Bar Chart ·          Horizontal Bar Chart ·          Simple Line Chart ·          Line Chart with Cubic Lines ·          Grouped Line Chart ·          Combined Line and Bar Chart ·          Pie Chart ·          Scatter Chart ·          Candlestick Chart ·          Radar Chart Here we will create Simple Bar Chart with multiple color based on ranging. Ok We start with coding part now. First of all create your project in Android Studio and add gradle dependency for  MPAndroidChart library  into y

JavaFX WebView- Creating Browser Sample

Hi Friends, In this post, i am going to give an overview about JavaFX WebView . This is an embedded browser component which is based on WebKit . If allow you to use Css, JavaScript, HTML5 and more to customise your embedded browser. The embedded browser enables you to perform the following tasks in your JavaFX applications: Render HTML content from local and remote URLs Obtain Web history Execute JavaScript commands Perform upcalls from JavaScript to JavaFX Manage web pop-up windows Apply effects to the embedded browser  I am going to provide and explain you a sample example to create your embedded browser. This is a JavaFX sample example. if you want to take an introduction about JavaFX please visit my previous blog . I have use IntelliJ Idea IDE for this example. You can visit this link  to understand how to create JavaFX application. I am attaching the project structure image below- In this sample- we have two java class. First

Java Socket Basics(Socket Programming in Java) Part-2(UDP)

Hi friends, We are going to discuss about UDP Socket Programming . In previous post  we discussed about the differences between TCP & UDP and the sample example of TCP Socket Programming. Below is the sample example of chat application using UDP  Socket Programming . UDP Sample :-  We are going to create an small example which contains two classes. UdpServer.java:-  This is a server class. Means this class will serve the purpose of socket connection. DatagramSocket is the java class and serve the purpose of Server and Client both. The overloaded constructor of DatagramSocket class matters. DatagramPacket is the java class which is responsible to transmit the data/packet over the network from server to client and vice-versa. UdpClient.java:-  This is client class. This serves the purpose of client which will communicate to server and send data to server and receive the data sent by server. UdpServer.java import java.net.DatagramPacket ; import java.net.Datag