• 15,000+ GitHub stars
  • 6 Million+ npm downloads / month
  • 20+ chart types

Interactive by default

Your users don't just view charts - they explore them. Zoom, pan, hover for details, and toggle series, all built in. No extra wiring.

  • Zoom & pan
  • Rich tooltips
  • Annotations
  • Export to SVG, PNG & CSV

See it in action

From config to chart in seconds

Integrating visualizations with ApexCharts is as simple as it can get with extensive API docs and 100+ samples ready to be used.

Get Started

let myChart = new ApexCharts(element, {
  chart: {
    type: 'bar',
  },
  series: [{
    data: [18, 28, 47, 57, 77]
  }],
  yaxis: {
    opposite: true,
  }
})
myChart.render();

Explore the ecosystem

ApexGrid — data grid

Data tables

ApexGrid

Fast, feature-rich data grids with sorting, filtering, inline editing and virtual scrolling — built to handle large datasets.

Explore ApexGrid
ApexGantt — interactive Gantt chart

Project planning

ApexGantt

Interactive Gantt charts with drag & drop scheduling, dependencies and milestone tracking — drop straight into your project tooling.

Explore ApexGantt
ApexTree — org chart and tree diagram

Hierarchies

ApexTree

Org charts and tree diagrams with collapse/expand, zoom and pan, plus external labels — render deep hierarchies with a tiny config.

Explore ApexTree
ApexSankey — flow diagram

Flow diagrams

ApexSankey

Sankey flow diagrams with customizable nodes and edges, gradient links and programmatic path highlighting for tracing any route.

Explore ApexSankey
ApexStock — financial candlestick chart

Financial charts

ApexStock

Financial charts with candlesticks, technical indicators, drawing tools and multiple chart types — purpose-built for market data.

Explore ApexStock

Drop into your stack

First-class wrappers for React, Vue and Angular — or plain JavaScript. Same options, same charts, everywhere.

npm i apexcharts
import ApexCharts from 'apexcharts'

const options = {
  chart: { type: 'line' },
  series: [{ name: 'Sales', data: [30, 40, 35, 50, 49, 60] }],
  xaxis: { categories: [1, 2, 3, 4, 5, 6] },
}

const chart = new ApexCharts(document.querySelector('#chart'), options)
chart.render()

Start building today

$npm i apexcharts

ApexCharts.js - JavaScript Charts for your website