{"id":13436585,"url":"https://github.com/KyleAMathews/react-sparkline","last_synced_at":"2025-03-18T21:30:37.514Z","repository":{"id":19897863,"uuid":"23162865","full_name":"KyleAMathews/react-sparkline","owner":"KyleAMathews","description":"React component for rendering simple sparklines","archived":false,"fork":false,"pushed_at":"2015-10-09T17:00:15.000Z","size":714,"stargazers_count":148,"open_issues_count":2,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-16T08:31:35.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kyleamathews.github.io/react-sparkline/","language":"CoffeeScript","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/KyleAMathews.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}},"created_at":"2014-08-20T20:19:14.000Z","updated_at":"2024-08-07T10:16:03.000Z","dependencies_parsed_at":"2022-07-27T00:47:01.075Z","dependency_job_id":null,"html_url":"https://github.com/KyleAMathews/react-sparkline","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleAMathews%2Freact-sparkline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleAMathews%2Freact-sparkline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleAMathews%2Freact-sparkline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleAMathews%2Freact-sparkline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyleAMathews","download_url":"https://codeload.github.com/KyleAMathews/react-sparkline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244310349,"owners_count":20432522,"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":[],"created_at":"2024-07-31T03:00:50.429Z","updated_at":"2025-03-18T21:30:37.487Z","avatar_url":"https://github.com/KyleAMathews.png","language":"CoffeeScript","funding_links":[],"categories":["Uncategorized","Awesome React","UI Components","Demos","\u003csummary\u003eUI Components\u003c/summary\u003e"],"sub_categories":["Uncategorized","Tools","Chart"],"readme":"react-sparkline\n===============\n\nReact component for rendering simple sparklines. Companion to [react-micro-bar-chart](https://github.com/KyleAMathews/react-micro-bar-chart).\n\n## Install\n`npm install react-sparkline`\n\n## Usage\n````javascript\nvar Sparkline = require('react-sparkline');\n\n// Pass in an array of values.\n\u003cSparkline data={anArrayOfValues} /\u003e\n\n// Sparkline of dates + values\n// Pass in an array of objects something like\nvalues = [\n  {\n    date: \"2014-06-23T00:21:59.271Z\"\n    value: 2\n  },\n  {\n    date: \"2014-06-24T00:21:59.271Z\"\n    value: 4\n  }\n]\n\u003cSparkline data={values} /\u003e\n\n````\n\n## Demo\nhttp://kyleamathews.github.io/react-sparkline/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyleAMathews%2Freact-sparkline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKyleAMathews%2Freact-sparkline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyleAMathews%2Freact-sparkline/lists"}