echarts-for-react is a React wrapper for Apache ECharts that lets developers render ECharts visualizations inside React applications. It provides a simple component-based interface where users pass an ECharts option object to generate charts. The package supports common React integration needs, including themes, styles, loading states, chart-ready callbacks, event binding, and renderer options. It also exposes access to the underlying ECharts instance, which lets developers use the full ECharts API when needed. The project includes guidance for importing ECharts modules manually to reduce bundle size and for using it with Next.js. Overall, it is a practical bridge between React projects and the full charting power of Apache ECharts.
Features
- React wrapper for Apache ECharts
- Simple chart rendering through an option object
- Theme, style, loading, and event binding support
- Access to the underlying ECharts instance
- Manual module imports for smaller bundles
- Next.js integration guidance