AG

Ag Charts Community

ag-charts-community

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

Charts
chart
charts
graph
graphs
data
react
react-component
react-charts
react-graphs
angular
Stars
485
Weekly
1.0M
Open issues
42
Bundle
~25 kB

Installation

npm install ag-charts-community

Code example

import { AgChartsCommunity } from "ag-charts-community";

const data = [
  { name: "Jan", value: 12 },
  { name: "Feb", value: 18 },
];

export function Example() {
  return (
    <AgChartsCommunity data={data} width={420} height={240}>
      {/* series / axes from Ag Charts Community */}
    </AgChartsCommunity>
  );
}

Pros & cons

Pros

  • Actively maintained by AG Grid
  • 1.0M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 42 open issues on GitHub

FAQs

Alternatives & similar libraries