Ask HN: What do you use to quickly generate charts & graphs?

4 points by hardwaresofton 3 days ago

At some point you get some data, and you want to graph it -- I'm curious what tools you reach for.

Interested mostly in the simple cases (let's say an XY graph, benchmark results, pie charts, etc), not exploration of the visual space per-say or trying to create a new type of visualization.

There are at least a few workflows I can think of but none are really satisfying/feel right:

- Open up LibreOffice/Excel/Google Sheets/Numbers, enter data, click around

- Open your terminal, try and remember gnuplot syntax

- Open a website like plotly and copy in your data

- Open up observable/ipynb or some other advanced notebook

What is everyone using?

On the startup front, it looks like of course companies like quickchart have been out there solving exactly this problem for 5 years already (that business has to be quite nice and profitable at this point!)

BTW, note that mermaid looks to include some simple syntax soon:

http://mermaid.js.org/syntax/xyChart.html

IMO once this new chart type percolates it's way into GitHub or other widely-used platforms that support markdown with mermaid, this problem is ~solved (at least for me) and that's what I'll use.

bjourne 2 days ago

I use matplotlib/seaborn/plotly-express to generate the figure and write a png. That way I can easily refine the figure once it goes from "trivial" to "complex": customize dpi, axis titles and ticks, latex in labels, annotating the line plots, etc. I'm picky about such details so often what should be easy becomes hard.

  • hardwaresofton 2 days ago

    Interesting combination -- thanks for sharing!

    So if I'm understanding right you reach for matplotlib first?

    • bjourne 2 days ago

      Nah, for plotly. But matplotlib is part of my toolbox for figures that plotly doesn't handle well, such as image grids.

cung 2 days ago

I’ve liked using https://draw.io

  • hardwaresofton 2 days ago

    Huge fan of draw.io... I did not know they did graphs!

    Just checked it out and it's quite manual -- as in you draw the bars on the bar chart! Not quite what I was looking for but interesting that they do this.

constantinum 2 days ago

Google sheets for quick barcharts.

Pandas + Seaborn for complex graphs with multiple data points.

Crier1002 2 days ago

mermaidjs is my default go-to. it works super well with Claude 3.5 if you ask it to visualize <something> in mermaidjs syntax

  • hardwaresofton 2 days ago

    Thanks -- yeah mermaid is pretty awesome, and the integration into markdown (in many places) really makes it even better.

gaws 2 days ago

R + ggplot

leros 2 days ago

Export to CSV and make a chart in Google Sheets.

ArkimPhiri 2 days ago

I find Google sheets quick and easy.