Skip to content
E

echarts for react

Wrapper around beautiful Apache Echarts

by hustccFree

#24in UI Libraries
0In stores

Description

echarts-for-react is a React wrapper for Apache ECharts, the charting library, so you can draw ECharts charts as React components. The proje…

Highlights

  • Renders ECharts charts as a React component
  • Access to the ECharts instance through a ref
  • Event handlers for chart clicks and legend changes
  • Modular imports to reduce the bundle size
  • Next.js setup notes and echarts-gl support for 3D

Ratings & Reviews

No ratings yet

Be the first to rate echarts for react.

People also visit

R

react-apexcharts

React.js wrapper for ApexCharts with SSR support

UI Libraries
Launch
R

react-chartjs

react charting components using the chartjs lib

UI Libraries
Launch
V

vue-echarts

Vue.js component for Apache ECharts

UI Libraries
Launch
R

react-c3js

React component for C3.js

UI Libraries
Launch
R

react-google-charts

react-google-charts React component

UI Libraries
Launch
R

react-google-charts

React-google-charts React component

UI Libraries
Launch

echarts for react FAQ

What is echarts-for-react?

A React wrapper for Apache ECharts that lets you render ECharts charts as React components.

Can I use every ECharts feature?

Yes. A ref gives access to the ECharts instance, so you can call any ECharts API, such as exporting an image.

How do I reduce bundle size?

Import only the ECharts modules you need, following the README for ECharts v5 and v6 or for v3 and v4.

Does it work with Next.js?

Yes, but for Next.js 13.1 and newer add echarts and zrender to transpilePackages in the Next.js config.

What license is it under?

The MIT License, according to the README.

What are the best echarts for react alternatives?

Popular alternatives to echarts for react include react-apexcharts, react-chartjs and vue-echarts. See all echarts for react alternatives

Developer Stuff

Badges