{"id":36452998,"url":"https://github.com/gtnebel/nu_plugin_nuplot","last_synced_at":"2026-02-16T11:01:57.357Z","repository":{"id":286279328,"uuid":"960939171","full_name":"gtnebel/nu_plugin_nuplot","owner":"gtnebel","description":"nuplot is a Nushell plugin for plotting charts.","archived":false,"fork":false,"pushed_at":"2026-02-13T13:46:52.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-13T22:42:02.870Z","etag":null,"topics":["chart","charts","echarts","go","golang","nushell","nushell-plugin","plot","plots"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gtnebel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-05T11:57:50.000Z","updated_at":"2026-02-13T13:46:55.000Z","dependencies_parsed_at":"2026-01-11T23:02:21.536Z","dependency_job_id":null,"html_url":"https://github.com/gtnebel/nu_plugin_nuplot","commit_stats":null,"previous_names":["gtnebel/nuplot","gtnebel/nu_plugin_nuplot"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/gtnebel/nu_plugin_nuplot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtnebel%2Fnu_plugin_nuplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtnebel%2Fnu_plugin_nuplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtnebel%2Fnu_plugin_nuplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtnebel%2Fnu_plugin_nuplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gtnebel","download_url":"https://codeload.github.com/gtnebel/nu_plugin_nuplot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtnebel%2Fnu_plugin_nuplot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29506318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chart","charts","echarts","go","golang","nushell","nushell-plugin","plot","plots"],"created_at":"2026-01-11T22:58:38.207Z","updated_at":"2026-02-16T11:01:57.352Z","avatar_url":"https://github.com/gtnebel.png","language":"Go","readme":"# nuplot\n\n`nuplot` is a [nushell](https://www.nushell.sh) plugin for plotting charts. It\nbuilds interactive charts from your data that are opened inside the web browser.\n\n```shell\ngo install github.com/gtnebel/nu_plugin_nuplot@latest\n```\n\n## Compatibility matrix\n\nNushell plugins always have to be built for a specific nushell version. This\ntable shows which `nuplot` releases are compatible to which `nushell` version.\n\n| nuplot version                                                           | nushell version |\n| ------------------------------------------------------------------------ | --------------- |\n| [0.1.0](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.1.0) | 0.104.0         |\n| [0.1.1](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.1.1) | 0.105.0         |\n| [0.1.2](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.1.2) | 0.106.0         |\n| [0.1.3](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.1.3) | 0.107.0         |\n| [0.2.0](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.2.0) | 0.107.0         |\n| [0.2.1](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.2.1) | 0.108.0         |\n| [0.2.2](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.2.1) | 0.109.0         |\n| [0.2.3](https://github.com/gtnebel/nu_plugin_nuplot/releases/tag/v0.2.1) | 0.110.0         |\n\n## Features\n\n- Supported chart types:\n  - Line chart\n  - Bar chart\n  - Stacked bar chart\n  - Pie chart\n  - Boxplot chart\n  - Kline chart\n- Chart title, size and color theme can be adjusted\n- Configure, which series is used for the x-axis\n\n## Examples\n\n#### A Simple Pie chart\n\n```nushell\n{'apples': 7 'oranges': 5 'bananas': 3} | nuplot pie --title \"Fruits\"\n```\n\n![Fruits](https://github.com/user-attachments/assets/848bdd94-364b-4c9e-b196-32e8d032bbd1)\n\n#### Show weather forcast from wttr.in as bar chart\n\n```nushell\nhttp get http://wttr.in?format=j1\n| get weather\n| select date avgtempC\n| each {|l| {date: ($l.date | into datetime) avgtempC: ($l.avgtempC | into int)} }\n| nuplot bar --xaxis date --title \"Weather forcast\"\n```\n\nThe data type conversion for `avgtempC` is needed, because nuplot only shows\nseries of numbers. The data type conversion of the `date` column can be omitted\nbut will lead to warnings in the moment because the date format is not\nrecognized correctly.\n\n![Weather forcast (1)](https://github.com/user-attachments/assets/0674aa72-37e9-4868-a156-31cf990fbde9)\n\n#### Show the average monthly temperatures as a boxplot chart\n\n```nushell\nhttp get https://bulk.meteostat.net/v2/hourly/2024/10389.csv.gz\n| gunzip\n| from csv --noheaders\n| select column0 column2\n| rename date temperature\n| upsert date {|l| $l.date | format date \"%B\"}\n| chunk-by {$in.date}\n| nuplot boxplot --xaxis date --title \"Average monthly temperatures for 2024 in Berlin\"\n```\n\n![image](https://github.com/user-attachments/assets/760d626b-44c0-4979-88da-e20a4946a79c)\n\n## Getting binaries\n\nBinaries for a range of operating systems and architectures are provided with\neach release on GitHub. Simply download the zip file for your os and\narchitecture.\n\n## Install with `go install`\n\nThe binary is installed to `$GOPATH/bin` (`~/go/bin`)\n\n```shell\ngo install github.com/gtnebel/nu_plugin_nuplot@latest\n```\n\n## Build from source\n\n**Prerequisits:** You will need the Go compiler to build the project.\n\nCheck out the project\n\n```sh\ngit clone https://github.com/gtnebel/nu_plugin_nuplot.git\n```\n\nBuild the project\n\n```sh\ngo build\n```\n\n## Register the plugin an nushell\n\nUse the `plugin add` and `plugin use` commands to register and use the plugin.\n\nThe `plugin use` command is only needed to activate the newly added plugin in\nthe currently running shell.\n\n**IMPORTANT:** The path to `nu_plugin_nuplot` has to be in `$PATH` if you run\nthe code below. If you installed the plugin using `go install`, add `~/go/bin`\nto your `$PATH`.\n\n```nu\nplugin add (which nu_plugin_nuplot | get 0.path)\nplugin use nuplot\n```\n\nNow, `help nuplot line` should show the help for the line chart.\n\n## Acknowledgments\n\nThis software is using other great open source libraries:\n\n- [Nushell Plugin](https://github.com/ainvaltin/nu-plugin): A library for\n  developing Nushell plugins in Golang\n- [go-echarts](https://github.com/go-echarts/go-echarts): A charts library for\n  Golang\n- [Stats - Golang Statistics Package](https://github.com/montanaflynn/stats):\n  Golang statistics library\n- [Package browser](https://github.com/pkg/browser): Open generated chart in a\n  browser window\n\n[Additional dependencies](https://github.com/gtnebel/nu_plugin_nuplot/network/dependencies)\n\n## BSD 2-Clause License\n\nCopyright (c) 2025, Thomas Nebel\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtnebel%2Fnu_plugin_nuplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgtnebel%2Fnu_plugin_nuplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtnebel%2Fnu_plugin_nuplot/lists"}