{"id":15592063,"url":"https://github.com/derhuerst/ndjson-chart-cli","last_synced_at":"2026-03-05T08:30:23.298Z","repository":{"id":57309397,"uuid":"232400579","full_name":"derhuerst/ndjson-chart-cli","owner":"derhuerst","description":"Visualize newline-delimited JSON as an interactive line chart.","archived":false,"fork":false,"pushed_at":"2020-01-07T19:32:38.000Z","size":10,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T04:41:42.499Z","etag":null,"topics":["c3js","chart","d3js","json-ld","jsonld","ndjson"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/ndjson-chart-cli#ndjson-chart-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-07T19:28:17.000Z","updated_at":"2020-12-13T08:01:48.000Z","dependencies_parsed_at":"2022-09-08T18:23:33.221Z","dependency_job_id":null,"html_url":"https://github.com/derhuerst/ndjson-chart-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fndjson-chart-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fndjson-chart-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fndjson-chart-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fndjson-chart-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/ndjson-chart-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239889024,"owners_count":19713702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["c3js","chart","d3js","json-ld","jsonld","ndjson"],"created_at":"2024-10-02T23:53:59.310Z","updated_at":"2026-03-05T08:30:23.232Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":["https://patreon.com/derhuerst"],"categories":[],"sub_categories":[],"readme":"# ndjson-chart-cli\n\n**Visualize [newline-delimited JSON](http://ndjson.org/) as an interactive line chart.**\n\n[![npm version](https://img.shields.io/npm/v/ndjson-chart-cli.svg)](https://www.npmjs.com/package/ndjson-chart-cli)\n[![build status](https://api.travis-ci.org/derhuerst/ndjson-chart-cli.svg?branch=master)](https://travis-ci.org/derhuerst/ndjson-chart-cli)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/ndjson-chart-cli.svg)\n![minimum Node.js version](https://img.shields.io/node/v/ndjson-chart-cli.svg)\n[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installation\n\n```shell\nnpm install ndjson-chart-cli\n```\n\nOr use [`npx`](https://npmjs.com/package/npx). ✨\n\n\n## Usage\n\n```\nUsage:\n    cat data.ndjson | ndjson-to-chart \u003echart.html\nOptions:\n\t--x             Set the X axis of all fields to another field.\n\t--x:{field}     Set the X axis of {field} to another field.\n\t--type          Show all fields as a specific type of chart.\n\t                  see https://c3js.org/reference.html#data-type\n\t--type:{field}  Show {field} as a type of chart.\n\t                  see https://c3js.org/reference.html#data-type\nExamples:\n\tndjson-to-chart --x t \u003cnode_modules/ndjson-chart-cli/example.ndjson\n\tndjson-to-chart --x:temperature time1 --type:temperature area-spline \u003cmeasurements.ndjson\n```\n\n\n## Related\n\n- [`chart-csv`](https://github.com/watson/chart-csv) – Chart a comma separated list of numbers on a line-graph that can be viewed in a web browser.\n\n\n## Contributing\n\nIf you have a question or need support using `ndjson-chart-cli`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/ndjson-chart-cli/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fndjson-chart-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fndjson-chart-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fndjson-chart-cli/lists"}