10
Best plotting libraries? (programming.dev)
submitted 1 day ago* (last edited 1 day ago) by staircase@programming.dev to c/dataisbeautiful@lemmy.ml

I'm thinking of writing a plotting library (similar to e.g. matplotlib), that calls into an existing, established library (such as matplotlib), and I can use javascript, python, C/C++, or shell. I'm plotting datasets, not functions. I need to be able to plot 2D and 3D. Which libraries should I look at?

I guess I care about

  • feature set
  • how intuitive it is
  • how pretty the graphs are
  • that it's reasonably fast
top 6 comments
sorted by: hot top new old
[-] naught101@lemmy.world 5 points 1 day ago

Ggplot2 is by far the best conceptually and syntactically. It makes you think in terms of visual mappings, which is an incredible framework for understanding data viz.

Seaborn is a decent equivalent on python, but it's more constrained by how python operates (which is a good and bad thing, R is a wild language)

[-] yaroto98@lemmy.world 3 points 1 day ago

jupyter notebook + python + matplotlib is what I think you're looking for.

[-] staircase@programming.dev 2 points 1 day ago

I'm not looking for an environment (like, say, jupyter). Rather I'm writing something like maptplotlib, by wrapping something like maptplotlib in my own API

[-] Terrapinjoe@lemmy.world 3 points 1 day ago

I don't know what that first line means, but I really like R studio for plots

[-] staircase@programming.dev 2 points 1 day ago* (last edited 1 day ago)

updated. Any clearer now?

I don't think I can use R

[-] kiwifoxtrot@lemmy.world 1 points 1 day ago* (last edited 1 day ago)

Plotly is pretty much all you need. It can create static plots like matplotlib, but it also has dynamic plus in which you can interact with your data, zoom in, rotate, etc. It is my favorite and I haven't come across anything better.

this post was submitted on 01 Sep 2026
10 points (100.0% liked)

Data Is Beautiful

10200 readers
15 users here now

A place to share and discuss data visualizations. #dataviz

founded 5 years ago
MODERATORS