Socket
Socket
Sign inDemoInstall

github.com/go-echarts/go-echarts

Package Overview
Dependencies
4
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/go-echarts/go-echarts


Version published

Readme

Source

go-echarts

🎨 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.

中文 README

🔰 Installation

$ go get -u github.com/go-echarts/go-echarts/...

✨ Features

  • 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.

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 _examples/ to view all the above chart examples.

$ cd your/gopath/src/github.com/go-echarts/go-echarts/_examples
$ go build .
$ ./_examples

For more information, please refer to go-echarts.github.io/go-echarts/.

📃 LICENSE

MIT ©chenjiandongx

FAQs

Last updated on 11 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc