{"id":20041982,"url":"https://github.com/dlozeve/uniplot","last_synced_at":"2026-06-10T15:31:54.996Z","repository":{"id":155391568,"uuid":"362898284","full_name":"dlozeve/uniplot","owner":"dlozeve","description":"Unicode plotting tool for displaying CSV data directly in your terminal","archived":false,"fork":false,"pushed_at":"2023-10-09T19:32:04.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-02T07:15:26.654Z","etag":null,"topics":["console","csv","plotting","terminal","unicode"],"latest_commit_sha":null,"homepage":"","language":"Scheme","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dlozeve.png","metadata":{"files":{"readme":"README.org","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}},"created_at":"2021-04-29T17:37:40.000Z","updated_at":"2025-02-02T02:38:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ee09075-8331-4565-9d4e-4d1a38a4e5a7","html_url":"https://github.com/dlozeve/uniplot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dlozeve/uniplot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlozeve%2Funiplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlozeve%2Funiplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlozeve%2Funiplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlozeve%2Funiplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlozeve","download_url":"https://codeload.github.com/dlozeve/uniplot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlozeve%2Funiplot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34159249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["console","csv","plotting","terminal","unicode"],"created_at":"2024-11-13T10:48:26.415Z","updated_at":"2026-06-10T15:31:54.975Z","avatar_url":"https://github.com/dlozeve.png","language":"Scheme","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Uniplot\n\nUnicode plotting tool for displaying CSV data directly in your\nterminal.\n\n#+ATTR_HTML: :width 100% :style margin-left: auto; margin-right: auto;\n[[./images/demo.png]]\n\n(source: [[https://ourworldindata.org/grapher/annual-co2-emissions-per-country?tab=chart\u0026time=1850..latest\u0026country=CHN~USA~Europe][Our World in Data]])\n\n** Features\n\n- Braille canvas for plotting\n- Line plots\n- Axes and tick labels showing ranges\n- Optional title, x-axis label, and legend\n- Input data loading from a CSV file\n\n** Usage\n\nStart from a well-formatted CSV file:\n\n#+begin_src sh\n$ head data/annual_co2_emissions.csv\nYear,United States,China,France,Germany,Italy,United Kingdom\n1750,,,,,,9.350528e6\n1751,,,,,,9.350528e6\n1752,,,,,,9.354192e6\n1753,,,,,,9.354192e6\n1754,,,,,,9.357856e6\n1755,,,,,,9.36152e6\n1756,,,,,,1.0006384e7\n1757,,,,,,1.0010048e7\n1758,,,,,,1.0013712e7\n#+end_src\n\nUniplot reads the standard input for a CSV file, and its behaviour\ndepends on the number of columns:\n- If there is only one column, it will plot its values against a\n  simple range index.\n- For two or more columns, it will use the first column for the\n  x-axis, and plot the next columns with different colors against it.\n\nYou can use a tool like Awk or [[https://github.com/BurntSushi/xsv][xsv]] to select the columns you want to\nplot:\n#+begin_src sh\nawk -F, -v OFS=, '{print $1, $4, $5, $6, $7}' data/annual_co2_emissions.csv | uniplot\n#+end_src\n\nAnd you can add a title by giving an argument to ~uniplot~:\n#+begin_src sh\nawk -F, -v OFS=, '{print $1, $4, $5, $6, $7}' data/annual_co2_emissions.csv | uniplot \"Annual CO₂ emissions (kg)\"\n#+end_src\n\n** Build\n\nInstall [[https://cons.io/][Gerbil Scheme]].\n\nUniplot depends on [[https://github.com/dlozeve/fancy][Fancy]] for colors and display.\n\n#+begin_src sh\ngxpkg install github.com/dlozeve/fancy\ngxpkg install github.com/dlozeve/uniplot\n#+end_src\n\nOr manually clone [[https://github.com/dlozeve/fancy][Fancy]] and [[https://github.com/dlozeve/uniplot][Uniplot]] and run ~./build.ss~ in the root\ndirectory of each repository.\n\n** References\n\n- [[https://github.com/Evizero/UnicodePlots.jl][UnicodePlots.jl]] in [[https://julialang.org/][Julia]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlozeve%2Funiplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlozeve%2Funiplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlozeve%2Funiplot/lists"}