{"id":13481118,"url":"https://github.com/johnwalley/d3-bumps-chart","last_synced_at":"2025-10-05T07:45:57.469Z","repository":{"id":10823100,"uuid":"67121692","full_name":"johnwalley/d3-bumps-chart","owner":"johnwalley","description":"A d3 plugin for visualizing bumps charts","archived":false,"fork":false,"pushed_at":"2023-12-24T22:43:38.000Z","size":2195,"stargazers_count":15,"open_issues_count":16,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-19T23:37:43.009Z","etag":null,"topics":["bumps","d3","svg"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnwalley.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}},"created_at":"2016-09-01T10:26:11.000Z","updated_at":"2025-06-10T18:31:29.000Z","dependencies_parsed_at":"2024-06-20T19:02:59.778Z","dependency_job_id":"13174b44-0e82-46f2-8314-b74b7774d098","html_url":"https://github.com/johnwalley/d3-bumps-chart","commit_stats":{"total_commits":167,"total_committers":5,"mean_commits":33.4,"dds":0.3772455089820359,"last_synced_commit":"d6035baedcc45698357e77e8bec98ce5627dfebb"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/johnwalley/d3-bumps-chart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwalley%2Fd3-bumps-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwalley%2Fd3-bumps-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwalley%2Fd3-bumps-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwalley%2Fd3-bumps-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnwalley","download_url":"https://codeload.github.com/johnwalley/d3-bumps-chart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnwalley%2Fd3-bumps-chart/sbom","scorecard":{"id":529213,"data":{"date":"2025-08-11","repo":{"name":"github.com/johnwalley/d3-bumps-chart","commit":"d6035baedcc45698357e77e8bec98ce5627dfebb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/johnwalley/d3-bumps-chart/releases/21626555","Warn: release artifact v1.0.0-beta.0 not signed: https://api.github.com/repos/johnwalley/d3-bumps-chart/releases/14674623","Warn: release artifact v0.12.1 not signed: https://api.github.com/repos/johnwalley/d3-bumps-chart/releases/10813657","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/johnwalley/d3-bumps-chart/releases/21626555","Warn: release artifact v1.0.0-beta.0 does not have provenance: https://api.github.com/repos/johnwalley/d3-bumps-chart/releases/14674623","Warn: release artifact v0.12.1 does not have provenance: https://api.github.com/repos/johnwalley/d3-bumps-chart/releases/10813657"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-36jr-mh4h-2g58","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T05:18:18.063Z","repository_id":10823100,"created_at":"2025-08-20T05:18:18.063Z","updated_at":"2025-08-20T05:18:18.063Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278425464,"owners_count":25984685,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":["bumps","d3","svg"],"created_at":"2024-07-31T17:00:48.856Z","updated_at":"2025-10-05T07:45:57.449Z","avatar_url":"https://github.com/johnwalley.png","language":"JavaScript","funding_links":[],"categories":["Charts"],"sub_categories":[],"readme":"# d3-bumps-chart\n\n[![Build Status](https://travis-ci.org/johnwalley/d3-bumps-chart.svg?branch=master)](https://travis-ci.org/johnwalley/d3-bumps-chart)\n\nDraw Bumps charts using d3.\n\nSee a demo [here](https://bl.ocks.org/johnwalley/a0734cf335b44365026adae40cce5945).\n\n## Installing\n\nIf you use NPM, `npm install d3-bumps-chart`. Otherwise, download the [latest release](https://github.com/johnwalley/d3-bumps-chart/releases/latest). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3` global is exported:\n\n```html\n\u003cscript src=\"https://d3js.org/d3.v5.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"../build/d3-bumps-chart.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n  d3.json(\"./results.json\").then(function (events) {\n    var gender = d3.GENDER.WOMEN;\n    var set = d3.SET.TORPIDS;\n    var el = document.getElementById('bumps-chart');\n\n    var chart = d3.bumpsChart();\n\n    chart\n      .year({ start: 2014, end: 2017 })\n      .windowWidth(window.document.body.clientWidth)\n      .on(\"selectYear\", (start, end) =\u003e console.log(start + '-' + end))\n      .on(\"highlightCrew\", crew =\u003e console.log(crew))\n      .on(\"toggleSelectedCrew\", crew =\u003e console.log(crew));\n\n    var transformedEvents = events\n      .filter(e =\u003e e.gender.toLowerCase() === gender.toLowerCase())\n      .filter(e =\u003e e.set === set)\n      .sort((a, b) =\u003e a.year - b.year)\n      .map(event =\u003e d3.transformData(event));\n\n    var data = d3.joinEvents(transformedEvents, set, gender);\n\n    d3.select(el).datum(data).call(chart);\n  });\n\u003c/script\u003e\n```\n\n## API Reference\n\n\u003ca name=\"bumpsChart\" href=\"#bumpsChart\"\u003e#\u003c/a\u003e d3.\u003cb\u003ebumpsChart\u003c/b\u003e() [\u003c\u003e](https://github.com/johnwalley/d3-bumps-chart/blob/master/src/chart.js 'Source')\n\nConstructs a new bumps chart generator with the default settings.\n\n\u003ca name=\"bumpsChart\" href=\"#bumpsChart\"\u003e#\u003c/a\u003e \u003ci\u003ebumpsChart\u003c/i\u003e(\u003ci\u003eselection\u003c/i\u003e) [\u003c\u003e](https://github.com/johnwalley/d3-bumps-chart/blob/master/src/chart.js#L43 'Source')\n\nRender the bumps chart to the given _[selection](https://github.com/d3/d3-selection)_.\n\n\u003ca href=\"#bumpsChart_on\" name=\"bumpsChart_on\"\u003e#\u003c/a\u003e \u003ci\u003ebumpsChart\u003c/i\u003e.\u003cb\u003eon\u003c/b\u003e(\u003ci\u003etypenames\u003c/i\u003e, [\u003ci\u003elistener\u003c/i\u003e]) [\u003c\u003e](https://github.com/johnwalley/d3-bumps-chart/blob/master/src/chart.js#L879 'Source')\n\nIf _listener_ is specified, sets the event _listener_ for the specified _typenames_ and returns the bumps chart. If an event listener was already registered for the same type and name, the existing listener is removed before the new listener is added. If _listener_ is null, removes the current event listeners for the specified _typenames_, if any. If _listener_ is not specified, returns the first currently-assigned listener matching the specified _typenames_, if any. When a specified event is dispatched, each _listener_ will be invoked with the same context and arguments as [_selection_.on](https://github.com/d3/d3-selection#selection_on) listeners: the current datum `d` and index `i`, with the `this` context as the current DOM element.\n\nThe _typenames_ is a string containing one or more _typename_ separated by whitespace. Each _typename_ is a _type_, optionally followed by a period (`.`) and a _name_, such as `drag.foo` and `drag.bar`; the name allows multiple listeners to be registered for the same _type_. The _type_ must be one of the following:\n\n- `selectYear` - after the year range has changed.\n- `toggleSelectedCrew` - after a crew's selected status has been toggled.\n- `highlightCrew` - after the highlighted crew has changed.\n\nSee [_dispatch_.on](https://github.com/d3/d3-dispatch#dispatch_on) for more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnwalley%2Fd3-bumps-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnwalley%2Fd3-bumps-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnwalley%2Fd3-bumps-chart/lists"}