Skip to content

[feature request] plots in millerΒ #1888

@janxkoci

Description

@janxkoci

Hi John, I was wondering, if we could have support for plots in miller? 😁

Specifically, there is a Go library available, and it is also used by a Go tool csvtk plot, so you can even have a look how it's used there.

Of course, both miller and csvtk support streams & pipes, so we can already do stuff like:

seq 10 | mlr --n2c put '$2 = $1 ** 2' | csvtk plot line -x 1 -y 2 | display # display is from imagemagick
## or save to PNG
seq 10 | mlr --n2c put '$2 = $1 ** 2' | csvtk plot line -x 1 -y 2 > plot.png

Producing:

Image

Since the tools are nicely interoperable, you can consider this request low priority. Unless of course, flocks of users reading this will start begging you to implement it πŸ˜‰

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions