MITB Banner

Top 6 Data Visualisation Libraries In Golang

Share

Go is a highly popular open-source programming language among developers, largely due to its impressive line up of features including automatic memory management and garbage collection. The language is most suited for building infrastructures like networked servers as well as tools for developers.

Below, we have listed the top six data visualisation libraries in the Go language.

(The list is in alphabetical order)

1| DataViz

About: DataViz is a data structure visualisation library for Go language. Inspired by the ideas of tools like memviz and GoDS, the DataViz library allows developers to work with standard data structures while also giving them the tools for building their own data structures as well as visualisation options. The library helps in building and understanding the standard data structures with added visualisations developed by Graphviz. The library supports various types of standard heap operations like pop, clear, size, empty, top, push, including other features like inverse comparator functions. 

To install DataViz, run the following:

go get github.com/Arafatk/Dataviz

Know more here.

2| Glot

About: Glot is a popular plotting library for Go language built on top of gnuplot. Currently, the library supports many styles like lines, points, linepoints, impulses, dots, bar, steps, histogram, circle, errorbars, boxerrorbars, etc. The package also supports all of 1,2 and 3 dimensional curves. The idea behind Glot is to make its functionalities similar to the popular matplotlib library that runs using the Go language. 

To install glot, run the following:

go get github.com/Arafatk/glot

Know more here.

3| Go chart

About: Go chart is a charting library in the native Go language. The library supports timeseries and continuous line charts. According to its developer, the goal with the API is to have the “zero value be useful”, and thus the user need not code more than what’s absolutely needed.

To install chart, run the following:

go get -u github.com/wcharczuk/go-chart

Know more here.

4| Go-echarts

About: Go-echarts is a charting and visualisation library for Go language. It aims to provide a simple yet powerful data visualisation library for Golang. The features of this library include:

  • Clean and comprehensive API
  • Visualisation of data in more than 25 different ways
  • Highly configurable chart options
  • Detailed documentation and a rich collection of examples
  • Visualisation of the geographical data with more than 400 maps.

To install this library, run the following:

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

cd $go-echarts-project

mkdir v2 && mv charts components datasets opts render templates types v2

Know more here.

5| Go-callvis

About: Go-callvis is a development tool that helps in visualising the call graph of a Go program using interactive view. The tool provides developers with a visual overview of a Go program using data from call graph and its relations with packages and types. It runs pointer analysis to construct the call graph of the program and uses the data to generate output in dot format, which can be rendered with Graphviz tools. The tool is especially useful in larger projects where the complexity of the code is much higher or when you are simply trying to understand code. Some of the features of this tool are:

  • Focus specific package in the program 
  • Support for Go modules
  • Filter packages to specific import path prefixes
  • Ignore functions from the standard library, etc.

To install go-callvis, run the following:

go get -u github.com/ofabry/go-callvis

(or)

git clone https://github.com/ofabry/go-callvis.git

cd go-callvis && make install

Know more here.

6| SVGo

About: SVGo is a library in Go language for Scalable Vector Graphics (SVG) generation. The library generates SVG as defined by the Scalable Vector Graphics 1.1 specification. SVG is a language for describing two-dimensional graphics in XML. It allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), images and text. Also, combined with the svgplay command, SVGo can be used to “sketch” with code in a browser.

To install SVGo, run the following:

go get github.com/ajstarks/svgo

go install github.com/ajstarks/svgo/…

Know more here.

Share
Picture of Ambika Choudhury

Ambika Choudhury

A Technical Journalist who loves writing about Machine Learning and Artificial Intelligence. A lover of music, writing and learning something out of the box.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.