Data visualization in Minetest is simple and easy with Polygraph. Thanks to an extensive set of parameters, you can embed dynamic charts within any formspec.
For complete usage instructions, including working code examples, please refer to the official forum topic.
Awesome API for data graphing in formspecs!
This was something I was looking for, but was using my own ugly implementation - this is much cleaner! Highly recommended - for an example of how to use this, check out
examples.lua
in the source.My only complaint is that declaring a function name
SimpleChart
/CustomChart
could cause potential conflicts, why not try something likepolygraph.simplechart
/polygraph.customchart
?