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.

  • Bricked@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Typst and LaTeX libraries can be used to create a variety of graphs within a text document, but no animations

  • ryokimball@infosec.pub
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Wouldn’t JavaScript really take the cake here? Like, Python definitely has some good libraries but JavaScript lives in the browser, interfaces with HTML5 canvas, and is far more popular by the nature of the web.

  • felsiq@piefed.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Mathematica’s visualizations are good, but this is the first and last positive thing I’ll ever say about it otherwise lmao

  • PapstJL4U@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    js has access to Apache echarts, which has a lot of diagrams and good api and doc with example

    Python has access to matplotlib, plotly and more.

    Both have the advantage of good support for secondary feature for data gathering and ui.

  • HaraldvonBlauzahn@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months 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 then there is Python with Matplotlib. It is made for visualization of numerical data.

    For 3D data, there is VTK.

    And TeX/LaTeX with various graphing packages.

  • muzzle@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Python had some pretty cool math graph library (matplotlib, plotly, seaborn, silx…), R is also well know for this kind of stuff.

  • technocrit@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I moved from Python to Julia. I primarily generate mathematical images and videos: fractals, chaotic systems, complex functions, etc. I’ve found Julia to be faster with better libraries for my purposes (eg. VideoIO).

    I don’t do charts, graphs, etc… but I imagine Julia has great libraries for that stuff too.