{"id":19400400,"url":"https://github.com/smartin85/d3-czip","last_synced_at":"2025-04-24T06:32:57.495Z","repository":{"id":20383351,"uuid":"89799968","full_name":"smartin85/d3-czip","owner":"smartin85","description":"Generates a collection from multiple arrays","archived":false,"fork":false,"pushed_at":"2023-01-27T03:32:54.000Z","size":1009,"stargazers_count":1,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T15:09:57.364Z","etag":null,"topics":["array","arrays","collection","collections","d3-czip","d3-module","d3-plugin","d3-zip"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/smartin85.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["smartin85"],"custom":["https://www.buymeacoffee.com/smartin"]}},"created_at":"2017-04-29T17:05:50.000Z","updated_at":"2021-10-31T12:47:50.000Z","dependencies_parsed_at":"2023-02-17T16:30:26.907Z","dependency_job_id":null,"html_url":"https://github.com/smartin85/d3-czip","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fd3-czip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fd3-czip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fd3-czip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartin85%2Fd3-czip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartin85","download_url":"https://codeload.github.com/smartin85/d3-czip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250578983,"owners_count":21453399,"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":["array","arrays","collection","collections","d3-czip","d3-module","d3-plugin","d3-zip"],"created_at":"2024-11-10T11:13:59.219Z","updated_at":"2025-04-24T06:32:56.009Z","avatar_url":"https://github.com/smartin85.png","language":"TypeScript","funding_links":["https://github.com/sponsors/smartin85","https://www.buymeacoffee.com/smartin"],"categories":[],"sub_categories":[],"readme":"# d3-czip\n[![BSD 3-Clause License][license-image]][license-url]\n[![Build Status][azure-pipeline-image]][azure-pipeline-url]\n[![NPM version][npm-image]][npm-url]\n[![npm downloads][downloads-image]][npm-url]\n[![Dependency Status][daviddm-image]][daviddm-url]\n[![Coverage percentage][coveralls-image]][coveralls-url]\n\n[![Buy me a coffee][buy-me-a-coffee-image]][buy-me-a-coffee-url]\n\nGenerates a collection from multiple arrays\n\n## Installing\n\nIf you use NPM, `npm install --save d3-czip`. \nOtherwise, download the [latest release](https://github.com/smartin85/d3-czip/releases/latest).\n\n```html\n\u003cscript src=\"https://d3js.org/d3.v4.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/d3-czip@latest\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n\nvar w = 960,\n    h = 500,\n    svg = d3.select(\"#chart\")\n      .append(\"svg\")\n      .attr(\"width\",w)\n      .attr(\"height\",h),\n    data = {\n      x: [100, 200, 300, 400, 500, 600, 700, 800],\n      y: [50, 150, 80, 200, 300, 120, 350, 210],\n      r: [50, 10, 30, 20, 60, 15, 40, 25],\n      c: ['red', 'blue', 'green', 'yellow', 'cyan', 'coral', 'black', 'grey']\n    };\n\nsvg.selectAll(\"circle\")\n    .data(d3.czip(data))\n    .enter()\n    .append(\"circle\")\n    .attr(\"cx\", function(d) { return d.x; })\n    .attr(\"cy\", function(d) { return d.y; })\n    .attr(\"r\", function(d) { return d.r; })\n    .attr(\"fill\", function(d) { return d.c; });\n\n\u003c/script\u003e\n```\n\n## API Reference\n\n\u003ca href=\"#czip\" name=\"czip\"\u003e#\u003c/a\u003e d3.\u003cb\u003eczip\u003c/b\u003e(objWithArrays);\n\nCreates a collection of the arrays.\n\n[license-image]: https://img.shields.io/badge/License-BSD%203--Clause-blue.svg\n[license-url]: LICENSE\n\n[npm-image]: https://badge.fury.io/js/d3-czip.svg\n[npm-url]: https://npmjs.org/package/d3-czip\n\n[downloads-image]: https://img.shields.io/npm/dt/d3-czip.svg\n\n[azure-pipeline-image]: https://dev.azure.com/smartin85/d3-czip/_apis/build/status/smartin85.d3-czip?branchName=master\n[azure-pipeline-url]: https://dev.azure.com/smartin85/d3-czip/_build/latest?definitionId=4\u0026branchName=master\n\n\n[daviddm-image]: https://david-dm.org/smartin85/d3-czip.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/smartin85/d3-czip\n\n[coveralls-image]: https://coveralls.io/repos/smartin85/d3-czip/badge.svg\n[coveralls-url]: https://coveralls.io/r/smartin85/d3-czip\n\n[buy-me-a-coffee-image]: https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\n[buy-me-a-coffee-url]: https://www.buymeacoffee.com/smartin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartin85%2Fd3-czip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartin85%2Fd3-czip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartin85%2Fd3-czip/lists"}