Coder Social home page Coder Social logo

harleylau / go-echarts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from go-echarts/go-echarts

0.0 1.0 0.0 1.69 MB

🎨 The adorable charts library for Golang

Home Page: http://go-echarts.chenjiandongx.com

License: MIT License

Go 97.86% HTML 2.14%

go-echarts's Introduction

go-echarts

🎨 The adorable charts library for Golang

Build Status Build Status Go Report Card MIT License

如果一门语言可以用来写爬虫,那么它就需要一个优雅的数据可视化库。 ---沃.兹基硕德

在 Golang 这门语言中,目前数据可视化的第三方库还是特别少,go-echarts 的开发就是为了填补这部分的空隙。Echarts 是百度开源的非常优秀的可视化图表库,凭借着良好的交互性,精巧的图表设计,得到了众多开发者的认可。也有其他语言为其实现了相应语言版本的接口,如 Python 的 pyecharts,go-echarts 也是借鉴了 pyecharts 的一些设计**。

🔰 安装

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

✨ 特性

  • 简洁的 API 设计,使用如丝滑般流畅
  • 囊括了 20+ 种常见图表,应有尽有
  • 高度灵活的配置项,可轻松搭配出精美的图表
  • 详细的文档和示例,帮助开发者更快的上手项目
  • 多达 400+ 地图,为地理数据可视化提供强有力的支持

📝 使用

仅需要几行核心代码就可画出美观的图表

生成的 bar.html 是这样的。Cool!

当然你也可以使用更加 golang 的方式,利用 net/http

打开浏览器访问 http://localhost:8081 也可以看到同样的效果!

🔖 Demo

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

运行 example/main.go 可预览所有示例

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

了解更多文档的内容请访问 go-echarts.chenjiandongx.com

📃 LICENSE

MIT ©chenjiandongx

go-echarts's People

Contributors

chenjiandongx avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.