{"id":19557420,"url":"https://github.com/visionmedia/histogram","last_synced_at":"2025-04-26T22:33:26.950Z","repository":{"id":7599067,"uuid":"8956189","full_name":"visionmedia/histogram","owner":"visionmedia","description":"JavaScript canvas histogram component","archived":false,"fork":false,"pushed_at":"2013-06-22T16:01:14.000Z","size":125,"stargazers_count":69,"open_issues_count":6,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-04T18:12:49.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visionmedia.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-22T16:37:28.000Z","updated_at":"2024-07-30T01:38:50.000Z","dependencies_parsed_at":"2022-07-31T15:09:06.295Z","dependency_job_id":null,"html_url":"https://github.com/visionmedia/histogram","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionmedia%2Fhistogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionmedia%2Fhistogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionmedia%2Fhistogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visionmedia%2Fhistogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visionmedia","download_url":"https://codeload.github.com/visionmedia/histogram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251063667,"owners_count":21530837,"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-11-11T04:42:22.250Z","updated_at":"2025-04-26T22:33:21.942Z","avatar_url":"https://github.com/visionmedia.png","language":"JavaScript","readme":"\n# histogram\n\n  JavaScript histogram component for arbitrary data.\n\n  ![large histogram](http://cdn.dropmark.com/41933/c8fda5acfa0f3b72c8f37b7ad13fb2e6e4e47d2e/big.png)\n\n  ![medium histogram](http://cdn.dropmark.com/41933/48aed33dbe309fd3ab1196d883b3ca7d4d5c48a9/medium.png)\n\n## Installation\n\n    $ component install visionmedia/histogram\n\n## API\n\n### Histogram()\n\n  Initialize a new histogram.\n\n### Histogram.add(data:Array, options:Object)\n\n  Add `data` set with `options`:\n\n   - `color` bar color\n\n### Histogram.size(w:Number, h:Number)\n\n  Set size to `w` / `h`.\n\n### Histogram.bins(n:Number)\n\n  Set the total number of bins to `n`.\n\n### Histogram.render()\n\n  Render the histogram and return a canvas.\n\n## License\n\n  MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisionmedia%2Fhistogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisionmedia%2Fhistogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisionmedia%2Fhistogram/lists"}