this post was submitted on 03 Jun 2026
28 points (91.2% liked)

Programming

27144 readers
546 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

As the title says, which programming language would you agree had the best libraries for visualisation (graphs, 3d models, charts, networks, animations, etc)?

Prefer languages with libraries that have more visulatizaton features than say, ease of using the libraries.

you are viewing a single comment's thread
view the rest of the comments
[–] HaraldvonBlauzahn@feddit.org 4 points 9 hours ago* (last edited 9 hours ago)

For certain highly formalized types of diagrams - for example flow charts -, PlantUML is great, and since it uses a textual language, it could be wired to a lot of different programs.

MetaPost ist similar but a bit lower level. It can generate very complex diagrams for arbitrary content.For example, I used it once to draw and publish a globe-like 3D sphere with fields depicting different spherical probability values in it.

Racket, a Scheme descendent, is very nice for elementary graphics - it can output pictures in the REPL of its integrated IDE, DrRacket. And it can output these seamlessly as vector graphics, or into interactive user interfaces, too. It also has an elementary but good graphing package. I have used it for a web app which did some data analysis, presented it as a plot in SVG format in the browser, and provided a PDF for download. Neat!

And then there is Python with Matplotlib. It is made for almost every imaginable visualization of numerical data.

For 3D data, there is VTK, which has bindings for C++, Tcl/Tk, Java, and Python.

And TeX/LaTeX with various graphing packages.

As said, all of these can be used programmatically, and can be included in other systems, as long as the latter can generate text commands which can piped into these special-languages, or library calls.