Is possible to display data as graph/chart on your local machine?

Hello is it possible to display your gathered data from user input?

I have 3 users each of them have sales goal(example : 3000) and how much they made with their sales (example: 555) . Could I display this data and compare all of them ?

1 Like

You need external packages. If terminal output is good enough, I recommend: https://github.com/gizak/termui.

Another easy way so far is to build a web interface serving chart JavaScript framework like https://www.chartjs.org/. The prerequisite is to have web development using go knowledge.

If you want it to be local app: GitHub - therecipe/qt: Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly is good enough. Mine me, Qt is very tough at start without good mentoring.

1 Like

Do i need start like xampp server for ChartJs?

1 Like

ChargJS is a JavaScript framework. You can source it from its CDN: Chart.js - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers on HTML pages.

Go can run web server on its own. A good start would be: Writing Web Applications - The Go Programming Language. Go server is powerful enough to run without ngix or apache servers.

Note:

  1. Prerequisite: web development using Go.
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.