A Go library for generating interactive charts and visualizations using Apache ECharts.
go-echarts is a Go library for creating interactive charts and data visualizations. It generates HTML files or serves charts via HTTP, leveraging the powerful Apache ECharts library to provide a wide range of chart types and customization options. It solves the problem of limited data visualization choices in the Go ecosystem.
Go developers who need to embed charts in web applications, generate static visualizations for reports, or build data dashboards. It's particularly useful for backend engineers working on analytics or monitoring tools.
Developers choose go-echarts because it brings the rich features of Apache ECharts to Go with a clean, idiomatic API. It offers extensive chart variety, strong customization, and easy integration compared to other Go visualization options.
🎨 The adorable charts library for Golang.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The library provides a simple Go interface for creating charts, as shown in the examples where a bar chart is generated with just a few lines of code, reducing boilerplate.
Supports over 25 chart types including advanced options like 3D charts and geographical maps, leveraging the power of Apache ECharts for diverse visualization needs.
Offers highly configurable options through the opts package, allowing detailed control over themes, styles, and interactivity, as demonstrated with smooth lines and Westeros theme examples.
Includes a detailed handbook, numerous examples in a separate repository, and GoDocs, making it easy for developers to onboard and reference features.
The README explicitly states that v1 and v2 are incompatible, requiring significant code adjustments when upgrading, which can disrupt existing projects and increase maintenance overhead.
For projects not using Go modules, installation involves manual directory manipulations as described in the classic way, adding unnecessary complexity and potential for errors.
Charts are rendered using Apache ECharts JavaScript, so output is HTML-based and requires client-side execution, limiting use in environments with JS restrictions or for pure server-side rendering.