Libraries for producing charts from Go programs: static plots for analysis with plot, low-level SVG generation with svgo, and interactive HTML charts based on Apache ECharts with go-echarts.

By GitHub stars, the most popular Go plotting libraries here are termui (13.6K stars), go-echarts (7.6K stars), and go-diagrams (5.2K stars). 1 of 7 had commits in the last 90 days.

Go charting & plotting libraries, ranked by GitHub stars
1 termui Inactive

Terminal dashboard and widget library with charts, gauges, sparklines and more.

13.6K 0 MIT
2 go-echarts

Simple yet powerful data visualizing library for Go.

7.6K 16 MIT
3 go-diagrams Inactive

Diagram-as-code library for system architecture diagrams in Go, rendered with Graphviz.

5.2K 0 MIT
4 asciigraph

Lightweight ASCII line graphs for command-line apps.

3.1K 72 BSD-3-Clause
5 termdash

Terminal-based dashboard library with line charts, bar charts, gauges and donuts.

3K 21 Apache-2.0
6 plot

API for building and drawing plots in Go.

3K 5 BSD-3-Clause
7 svgo Inactive

Go Language Library for SVG generation.

2.3K 0 Other

Head-to-head comparisons

Related topics

Related categories

Frequently asked questions

What is the most popular Go plotting library?

By GitHub stars, termui is the most popular, with 13.6K stars, followed by go-echarts (7.6K) and go-diagrams (5.2K).

Which Go plotting libraries are actively maintained?

4 of the 7 tools listed had commits in the last 12 months, including go-echarts, asciigraph, termdash, and plot. Each tool page shows monthly commit activity.

Are these Go plotting libraries free and open source?

6 of the 7 tools listed use an OSI-approved open-source license; the others are source-available, free to use, or use a custom license, so check each tool page. The most common license here is MIT.

Missing a tool? Add it with a one-line pull request to the README.