grokify / gocharts

Go code to help create various charts, e.g. C3, D3, Rickshaw, go-chart, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoCharts

Build Status Go Report Card Used By Docs SLOC License

GoCharts is a library to assist with building charts, by directly working with charting libraries, generating tabular data for Excel XLSX files and CSV files, or to transfer data to/from analytics solutions like Metabase and SimpleKPI.

Contents

It includes two sets of packages:

  1. data structures to generically hold and manipulate different types of data
  2. chart library helpers to make generating charts eaiser, often times using data structures mentioned above

Data Structures

Commonly used data structures include:

A full list is available in the data folder.

Chart Helpers

quicktemplate is used for rendering some of the charts.

An example chart is the Rickshaw chart shown below:

Collections

Data collections are provided in the collections folder for the primary purpose of providing example data to run in the examples. Currently, cryptocurrency data from Yahoo! Finance is included.

Applications

Various helpers to use applications are located in the apps folder for the primary purpose of providing reusable and example code.

Installation

$ go get github.com/grokify/gocharts/v2/...

Usage

See the example here:

charts/rickshaw/examples/report.go

Mentions

  1. Philip Gardner's GitHub stars: github.com/gaahrdner/starred

About

Go code to help create various charts, e.g. C3, D3, Rickshaw, go-chart, etc.

License:MIT License


Languages

Language:Go 91.3%Language:HTML 8.7%