Skip to content
🎨 The adorable charts library for Golang
Go HTML Other
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
charts Fix: assets host 404 error Sep 15, 2019
datasets Update: #18 remove packr dependency and update docs May 5, 2019
datatypes move data types into the datatypes package (#14) Apr 5, 2019
docs Fix: import path Sep 15, 2019
example Fix: import path Sep 15, 2019
images Update: 新增 logo 以及修改 Overlap 接口 Feb 7, 2019
templates Format: code May 5, 2019
.appveyor.yml Fix: fix test Feb 10, 2019
.gitignore Refactor: 重新设计接口 Feb 3, 2019
.revive.toml Format: 新增 revive 代码检查工具 Jan 4, 2019
.travis.yml Add: add .travis Feb 10, 2019
LICENSE Update: license update Feb 14, 2019 Docs: update Sep 15, 2019 Docs: update Sep 15, 2019
doPackr.bat Fix the system cannot find the path specified (#17) Apr 8, 2019


🎨 The adorable charts library for Golang.

Build Status Build Status Go Report Card MIT License GoDoc

If a language can be used to build web scrapers, it definitely needs to provide a graceful data visualizing library. --- by chenjiandongx

In the Golang ecosystem, there are not many choices for data visualizing libraries. The development of go-echarts aims to provide a simple yet powerful data visualizing library for Golang. Echarts is an outstanding charting and visualizing library opensourced by Baidu, it supports adorable chart types and various interactive features. There are many language bindings for Echarts, for example, pyecharts. go-echarts learns from pyecharts and has evolved a lot.


🔰 Installation

$ go get -u


  • Clean and comprehensive API.
  • Visualize your data in 25+ different ways.
  • Highly configurable chart options.
  • Detailed documentation and a rich collection of examples.
  • Visualize your geographical data with 400+ maps.

📝 Usage

It's easy to get started with go-echarts. In this example, we create a simple bar chart with only a few lines of code.

And the generated bar.html is rendered as below. Isn't that cool!

Of course we can also start a listening web server with net/http.

Now visit http://localhost:8081 in your browser and you'll see the same bar chart.

🔖 Gallery

bar boxplot effectScatter funnel gague geo graph heatmap kline line liquid map parallel pie radar scatter wordCloud bar3D line3D sankey scatter3D surface3D themeRiver overlap

Run the demo program under example/ to view all the above chart examples.

$ cd your/gopath/src/
$ go build .
$ ./example

For more information, please refer to


MIT ©chenjiandongx

You can’t perform that action at this time.