{"versions":{"1.0.1":{"name":"d3-selection-multi","version":"1.0.1","description":"Multi-value map syntax for D3 selections.","keywords":["d3","d3-module","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","module":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-selection:d3,d3-transition:d3 -n d3 -o build/d3-selection-multi.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-selection-multi/build/d3-selection-multi.js d3-selection-multi.v1.js && cp ../d3-selection-multi/build/d3-selection-multi.min.js d3-selection-multi.v1.min.js && git add d3-selection-multi.v1.js d3-selection-multi.v1.min.js && git commit -m \"d3-selection-multi ${npm_package_version}\" && git push && cd - && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js"},"dependencies":{"d3-selection":"1","d3-transition":"1"},"devDependencies":{"eslint":"3","jsdom":"9","package-preamble":"0.0","rollup":"0.41","tape":"4","uglify-js":"2"},"gitHead":"eca50ebce40acbd75df342a00322fae89e1dd6e2","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@1.0.1","_shasum":"cd6c25413d04a2cb97470e786f2cd877f3e34f58","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"cd6c25413d04a2cb97470e786f2cd877f3e34f58","size":4942,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-1.0.1.tgz","integrity":"sha512-mEnRkJ6A+Otd1LuRPV3az+s/RLDmIEhuz/MnT21O2nPcWNH7wZotdIlRjMA4Wpr+n7AESQ5fD8v1J3nL2Mnw9g=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/d3-selection-multi-1.0.1.tgz_1487660504590_0.49165939749218524"},"directories":{},"publish_time":1487660506485,"_hasShrinkwrap":false,"_cnpm_publish_time":1487660506485,"_cnpmcore_publish_time":"2021-12-16T20:30:58.892Z","contributors":[]},"1.0.0":{"name":"d3-selection-multi","version":"1.0.0","description":"Multi-value map syntax for D3 selections.","keywords":["d3","d3-module","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-selection:d3,d3-transition:d3 -n d3 -o build/d3-selection-multi.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-selection-multi/build/d3-selection-multi.js d3-selection-multi.v1.js && cp ../d3-selection-multi/build/d3-selection-multi.min.js d3-selection-multi.v1.min.js && git add d3-selection-multi.v1.js d3-selection-multi.v1.min.js && git commit -m \"d3-selection-multi ${VERSION}\" && git push && cd - && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js"},"dependencies":{"d3-selection":"1","d3-transition":"1"},"devDependencies":{"eslint":"2","jsdom":"9","package-preamble":"0.0","rollup":"0.33","tape":"4","uglify-js":"2"},"gitHead":"a73ae6e5f0efc550ef0267691fe223e9dadceb38","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@1.0.0","_shasum":"6b158d07644a0812fe36ebce59ed05bfa7c52540","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"6b158d07644a0812fe36ebce59ed05bfa7c52540","size":4978,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-1.0.0.tgz","integrity":"sha512-vKd84QE65GFuyGseskY2pr+xMIWfzmUz4xjgSF0rgVTUoBpT6IppjBWMilbr9Cid6+2FOh9cIAYeevbrU0Y0uQ=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/d3-selection-multi-1.0.0.tgz_1469800139195_0.9656039257533848"},"directories":{},"publish_time":1469800143902,"_hasShrinkwrap":false,"_cnpm_publish_time":1469800143902,"_cnpmcore_publish_time":"2021-12-16T20:30:59.118Z","contributors":[]},"0.4.1":{"name":"d3-selection-multi","version":"0.4.1","description":"Multi-value map syntax for D3 selections.","keywords":["d3","d3-module","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-selection:d3,d3-transition:d3 -n d3 -o build/d3-selection-multi.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-selection-multi/build/d3-selection-multi.js d3-selection-multi.v0.4.js && cp ../d3-selection-multi/build/d3-selection-multi.min.js d3-selection-multi.v0.4.min.js && git add d3-selection-multi.v0.4.js d3-selection-multi.v0.4.min.js && git commit -m \"d3-selection-multi ${VERSION}\" && git push && cd - && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js"},"dependencies":{"d3-selection":"1","d3-transition":"1"},"devDependencies":{"eslint":"2","jsdom":"9","package-preamble":"0.0","rollup":"0.33","tape":"4","uglify-js":"2"},"gitHead":"4a6d7c9a8f2d7e39a21db955050b11cc7448ed08","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.4.1","_shasum":"6b48112304b6bd27450d7bb5000195f0acee47fe","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"6b48112304b6bd27450d7bb5000195f0acee47fe","size":3888,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.4.1.tgz","integrity":"sha512-M/KK0+FT1LuV4naPCFZWK5iFzKXADhu44vs89CbnIC/SLNVkTKXwhAmkcuo3/bgL4oPIiQXaAoxBUMPMNhnxkA=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/d3-selection-multi-0.4.1.tgz_1468204028755_0.8987485675606877"},"directories":{},"publish_time":1468204030165,"_hasShrinkwrap":false,"_cnpm_publish_time":1468204030165,"_cnpmcore_publish_time":"2021-12-16T20:30:59.372Z","contributors":[]},"0.4.0":{"name":"d3-selection-multi","version":"0.4.0","description":"Multi-value map syntax for D3 selections.","keywords":["d3","d3-module","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-selection:d3,d3-transition:d3 -n d3 -o build/d3-selection-multi.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-selection-multi.js ../d3.github.com/d3-selection-multi.v0.4.js && cp build/d3-selection-multi.min.js ../d3.github.com/d3-selection-multi.v0.4.min.js && cd ../d3.github.com && git add d3-selection-multi.v0.4.js d3-selection-multi.v0.4.min.js && git commit -m \"d3-selection-multi ${VERSION}\" && git push && cd - && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js"},"dependencies":{"d3-selection":"1","d3-transition":"1"},"devDependencies":{"eslint":"2","jsdom":"9","package-preamble":"0.0","rollup":"0.33","tape":"4","uglify-js":"2"},"gitHead":"28c18f19efd4a8ae3502fd6de3708f31a8dab53f","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.4.0","_shasum":"c757baf5d16365044bd907717fc9870bfe18a49e","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"c757baf5d16365044bd907717fc9870bfe18a49e","size":3895,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.4.0.tgz","integrity":"sha512-O78El/bZ5JoILGiVym+W6kug4OhGTbCsV6ur0jhLu+mHC2FR+JaO5fyh7lom76fNVqMr8/6WVI72y90bjNbZXg=="},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/d3-selection-multi-0.4.0.tgz_1467175840538_0.7305674676317722"},"directories":{},"publish_time":1467175843124,"_hasShrinkwrap":false,"_cnpm_publish_time":1467175843124,"_cnpmcore_publish_time":"2021-12-16T20:30:59.604Z","contributors":[]},"0.3.0":{"name":"d3-selection-multi","version":"0.3.0","description":"Multi-value map syntax for D3 selections.","keywords":["d3","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-selection:d3 -n d3 -o build/d3-selection-multi.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-selection-multi.js ../d3.github.com/d3-selection-multi.v0.3.js && cp build/d3-selection-multi.min.js ../d3.github.com/d3-selection-multi.v0.3.min.js && cd ../d3.github.com && git add d3-selection-multi.v0.3.js d3-selection-multi.v0.3.min.js && git commit -m \"d3-selection-multi ${VERSION}\" && git push && cd - && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js"},"dependencies":{"d3-selection":"~0.9.0"},"devDependencies":{"eslint":"2","jsdom":"9","package-preamble":"0.0","rollup":"0.31","tape":"4","uglify-js":"2"},"gitHead":"f6a50456df6f4de218a90e6b3b1c41de2474ea02","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.3.0","_shasum":"ecb64f1f8cfb8e1ed09e9971b5a964f54bb209ac","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"ecb64f1f8cfb8e1ed09e9971b5a964f54bb209ac","size":3576,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.3.0.tgz","integrity":"sha512-pDYiXuF8pyB8JopgdN2F5fbApDyDgAP3quwme5vUwKBW9todrrtaZkksbpjCX8g1Qmq6qIKuU7RNFmp5LWbsiw=="},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-selection-multi-0.3.0.tgz_1466000257808_0.17108046263456345"},"directories":{},"publish_time":1466000258503,"_hasShrinkwrap":false,"_cnpm_publish_time":1466000258503,"_cnpmcore_publish_time":"2021-12-16T20:30:59.811Z","contributors":[]},"0.2.10":{"name":"d3-selection-multi","version":"0.2.10","description":"Multi-value map syntax for D3 selections.","keywords":["d3","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-selection:d3_selection -n d3_selection_multi -o build/d3-selection-multi.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js && rm -f build/d3-selection-multi.zip && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-selection-multi.js ../d3.github.com/d3-selection-multi.v0.2.js && cp build/d3-selection-multi.min.js ../d3.github.com/d3-selection-multi.v0.2.min.js && cd ../d3.github.com && git add d3-selection-multi.v0.2.js d3-selection-multi.v0.2.min.js && git commit -m \"d3-selection-multi ${VERSION}\" && git push"},"dependencies":{"d3-selection":"~0.7.0"},"devDependencies":{"faucet":"0.0","rollup":"0.25","jsdom":"8","tape":"4","uglify-js":"2"},"gitHead":"f84af766a7f702a0734a9294a21d49bc6a60187d","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.2.10","_shasum":"7d0469c08e381252f5f93d2eb26cfc179ecce18b","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"7d0469c08e381252f5f93d2eb26cfc179ecce18b","size":3171,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.10.tgz","integrity":"sha512-sDidZcQzZ1fD0W72RFutRU9l3K3oPkg45bFVChvhbB9TrXXRYHr4/MuUWB0JC0FzuAESOXBYf1KeSWgOEXHQIg=="},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/d3-selection-multi-0.2.10.tgz_1456772750354_0.8228997688274831"},"directories":{},"publish_time":1456772753279,"_hasShrinkwrap":false,"_cnpm_publish_time":1456772753279,"_cnpmcore_publish_time":"2021-12-16T20:31:00.165Z","contributors":[]},"0.2.9":{"name":"d3-selection-multi","version":"0.2.9","description":"Multi-value map syntax for D3 selections.","keywords":["d3","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-selection:d3_selection -n d3_selection_multi -o build/d3-selection-multi.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js && rm -f build/d3-selection-multi.zip && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-selection-multi.js ../d3.github.com/d3-selection-multi.v0.2.js && cp build/d3-selection-multi.min.js ../d3.github.com/d3-selection-multi.v0.2.min.js && cd ../d3.github.com && git add d3-selection-multi.v0.2.js d3-selection-multi.v0.2.min.js && git commit -m \"d3-selection-multi ${VERSION}\" && git push"},"dependencies":{"d3-selection":"~0.6.5"},"devDependencies":{"faucet":"0.0","rollup":"0.25","jsdom":"8","tape":"4","uglify-js":"2"},"gitHead":"8110d04e7ddb3fe2e9e5ba4fbe3e4b5693e2d886","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.2.9","_shasum":"6e13e4c717e4e3a722b5099300ff8a0d7ee58fa8","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"6e13e4c717e4e3a722b5099300ff8a0d7ee58fa8","size":3188,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.9.tgz","integrity":"sha512-2h5kLuPRm+IF4Pv580oiJ6RWenp1lBdeG/4hnG+qChVkytXLoFw2YDr+WBXpyIgAhbVBOjTeNlP/+apXbWObDQ=="},"directories":{},"publish_time":1454092565413,"_hasShrinkwrap":false,"_cnpm_publish_time":1454092565413,"_cnpmcore_publish_time":"2021-12-16T20:31:00.515Z","contributors":[]},"0.2.8":{"name":"d3-selection-multi","version":"0.2.8","description":"Multi-value map syntax for D3 selections.","keywords":["d3","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-selection-multi.js","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-selection:d3_selection -u d3-selection-multi -n d3_selection_multi -o build/d3-selection-multi.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js && rm -f build/d3-selection-multi.zip && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js"},"dependencies":{"d3-selection":"~0.4.12"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","jsdom":"7","tape":"4","uglify-js":"2"},"gitHead":"589ca351547f7ea0549bf1a8c71a3fab8b11e8bd","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.2.8","_shasum":"4756d17c4246553a79fbd545ab5b0d55c4e0050f","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"4756d17c4246553a79fbd545ab5b0d55c4e0050f","size":3071,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.8.tgz","integrity":"sha512-OM68vncAATUWeBQWxab6I/ImfvmmyApaPZAV4Q5QP9eiy92gb6fGpCs+ACpkM0OLnFvO2tgGeVClPZnUoEMrUA=="},"directories":{},"publish_time":1447271072485,"_hasShrinkwrap":false,"_cnpm_publish_time":1447271072485,"_cnpmcore_publish_time":"2021-12-16T20:31:00.750Z","contributors":[]},"0.2.7":{"name":"d3-selection-multi","version":"0.2.7","description":"Multi-value map syntax for D3 selections.","keywords":["d3","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/selection-multi.cjs","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && d3-bundler -x -f cjs -o build/selection-multi.cjs.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && d3-bundler -n selection -o build/selection-multi.js -- selection.js && uglifyjs build/selection-multi.js -c -m -o build/selection-multi.min.js && rm -f build/selection-multi.zip && zip -j build/selection-multi.zip -- LICENSE README.md build/selection-multi.js build/selection-multi.min.js"},"dependencies":{"d3-selection":"~0.4.10"},"devDependencies":{"d3-bundler":"~0.4.0","faucet":"0.0","jsdom":"7","tape":"4","uglify-js":"2"},"gitHead":"ab2842ee0b1b2b446560b62221090b762fb6c603","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.2.7","_shasum":"b1921d52907600b3bb8c8256942912f386b9a48d","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"b1921d52907600b3bb8c8256942912f386b9a48d","size":13062,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.7.tgz","integrity":"sha512-mPJOJBQBhS2tpsskL0yjN7eqfo+4MC6kJsHE/O+FDQEoyu7cGWjNtgvkEz3rVRkHKZov1O0Ia4z9qEndM0zVCQ=="},"directories":{},"publish_time":1446673772474,"_hasShrinkwrap":false,"_cnpm_publish_time":1446673772474,"_cnpmcore_publish_time":"2021-12-16T20:31:00.944Z","contributors":[]},"0.2.6":{"name":"d3-selection-multi","version":"0.2.6","description":"Multi-value map syntax for D3 selections.","keywords":["d3","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/selection-multi.cjs","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && d3-bundler -x -f cjs -o build/selection-multi.cjs.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && d3-bundler -n selectionMulti -o build/selection-multi.js && uglifyjs build/selection-multi.js -c -m -o build/selection-multi.min.js && rm -f build/selection-multi.zip && zip -j build/selection-multi.zip -- LICENSE README.md build/selection-multi.js build/selection-multi.min.js"},"dependencies":{"d3-selection":"~0.4.10"},"devDependencies":{"d3-bundler":"~0.4.0","faucet":"0.0","jsdom":"7","tape":"4","uglify-js":"2"},"gitHead":"d77b39ac8cdedffa09077a5e305f7bcc7a2c5264","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.2.6","_shasum":"9e7431bdf840489b257e7b84108bb485699547a2","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"9e7431bdf840489b257e7b84108bb485699547a2","size":2671,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.6.tgz","integrity":"sha512-kW3DEkpX4KakVopjx+Hbo+mbFBi1bXTRb2qjnq+IrkRbiQtEDaeXx+dpfWkKO8OevNSQfypfneqmVN3NVo2tww=="},"directories":{},"publish_time":1446623439161,"_hasShrinkwrap":false,"_cnpm_publish_time":1446623439161,"_cnpmcore_publish_time":"2021-12-16T20:31:01.153Z","contributors":[]},"0.2.5":{"name":"d3-selection-multi","version":"0.2.5","description":"Multi-value map syntax for D3 selections.","keywords":["d3","dom","selection"],"homepage":"https://github.com/d3/d3-selection-multi","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3","jsnext:main":"index","repository":{"type":"git","url":"https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && d3-bundler --polyfill-map --format=umd --name=d3 -- d3.js > build/d3.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3.js -c -m -o build/d3.min.js && rm -f build/d3.zip && zip -j build/d3.zip -- LICENSE README.md build/d3.js build/d3.min.js"},"devDependencies":{"d3-bundler":"~0.2.5","d3-selection":"~0.4.5","faucet":"0.0","jsdom":"3","tape":"4","uglifyjs":"2"},"gitHead":"16c0df85105ab7ab9ccae4d726117b5ee7be2530","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"_id":"d3-selection-multi@0.2.5","_shasum":"ef7ae245dbdfdaefa458380747a8e09f1265787e","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"ef7ae245dbdfdaefa458380747a8e09f1265787e","size":13236,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.5.tgz","integrity":"sha512-vGhfF7siSgJRp99CZhxGNedVBHLfN3aP27BtFocxSHaKQaRUnxsa1niQ7DDUbuXm3HULabHpzXG+wxktDAu0WA=="},"directories":{},"publish_time":1434487467064,"_hasShrinkwrap":false,"_cnpm_publish_time":1434487467064,"_cnpmcore_publish_time":"2021-12-16T20:31:01.347Z","contributors":[]},"0.2.4":{"name":"d3-selection-multi","version":"0.2.4","description":"Multi-value map syntax for D3 selections.","main":"build/d3","jsnext:main":"index","repository":{"type":"git","url":"https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && d3-bundler --format=cjs -- d3.js > build/d3.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test"},"devDependencies":{"d3-bundler":"~0.2.5","d3-selection":"~0.4.5","faucet":"0.0","jsdom":"3","tape":"4"},"gitHead":"c7972c40adf50866a0be107245601635ef096a0f","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"homepage":"https://github.com/d3/d3-selection-multi","_id":"d3-selection-multi@0.2.4","_shasum":"59850422f6d145121552cfa9e7697a3a67f582d7","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"59850422f6d145121552cfa9e7697a3a67f582d7","size":8626,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.4.tgz","integrity":"sha512-2UIboD6n6t5E+3TsHRuN64qeBfRwdpalQ+g4XzheyvhYNxaFewtVPZ9wFCRjLRIMvTH9Mm3WixZjoYMx64mZFw=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"directories":{},"publish_time":1433206601703,"_hasShrinkwrap":false,"_cnpm_publish_time":1433206601703,"_cnpmcore_publish_time":"2021-12-16T20:31:01.566Z","contributors":[]},"0.2.3":{"name":"d3-selection-multi","version":"0.2.3","description":"Multi-value map syntax for D3 selections.","jsnext:main":"index","repository":{"type":"git","url":"https://github.com/d3/d3-selection-multi.git"},"scripts":{"pretest":"mkdir -p build && d3-bundler -- test/d3.js > build/d3.js","test":"faucet `find test -name '*-test.js'`"},"devDependencies":{"d3-bundler":"~0.2.2","d3-selection":"~0.4.5","faucet":"0.0","jsdom":"3","requirejs":"2","tape":"4"},"gitHead":"e808db0e1c033763571a655bfdc4cb991aba69d1","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"homepage":"https://github.com/d3/d3-selection-multi","_id":"d3-selection-multi@0.2.3","_shasum":"35628a14e9bb6de8e89d35869560d742d0dce679","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"mbostock@gmail.com"},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"dist":{"shasum":"35628a14e9bb6de8e89d35869560d742d0dce679","size":2403,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.3.tgz","integrity":"sha512-II1gSiF/c22Ah4fSmt1lz98eDhcPZwah9ua8eVPxWbNKsO3lj1Lm34VvV0yTqcb42DQFPSFhijAoLfFXw/w8DQ=="},"directories":{},"publish_time":1432917694277,"_hasShrinkwrap":false,"_cnpm_publish_time":1432917694277,"_cnpmcore_publish_time":"2021-12-16T20:31:01.764Z","contributors":[]},"0.2.2":{"name":"d3-selection-multi","version":"0.2.2","description":"Extension to d3-selection to add multi-value map syntax.","main":"dist/d3-selection-multi","repository":{"type":"git","url":"https://github.com/d3/d3-selection-multi.git"},"devDependencies":{"d3-bundler":"~0.2.1","d3-selection":"~0.4.2","faucet":"0.0","jsdom":"3","requirejs":"2","tape":"4","uglify-js":"2"},"gitHead":"ae15baa353abff67afd1a64151b4e45a1a1e4f9b","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"homepage":"https://github.com/d3/d3-selection-multi","_id":"d3-selection-multi@0.2.2","scripts":{},"_shasum":"ea92cb3ae1527bbf06404faec548d8be0a9b8d27","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"ea92cb3ae1527bbf06404faec548d8be0a9b8d27","size":3151,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.2.tgz","integrity":"sha512-uKQPqgvR/iulmsBNPR9aSmHwpwkVqX3i0ykNSy4Ol480DqF5nYDWaQagHG1GzXSCfwQNIoWltyke6FpjlKjeZg=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"directories":{},"publish_time":1432788593630,"_hasShrinkwrap":false,"_cnpm_publish_time":1432788593630,"_cnpmcore_publish_time":"2021-12-16T20:31:01.988Z","contributors":[]},"0.2.1":{"name":"d3-selection-multi","version":"0.2.1","description":"Extension to d3-selection to add multi-value map syntax.","main":"dist/d3-selection-multi","repository":{"type":"git","url":"https://github.com/d3/d3-selection-multi.git"},"devDependencies":{"d3-bundler":"~0.2.1","d3-selection":"~0.4.2","faucet":"0.0","jsdom":"3","requirejs":"2","tape":"4","uglify-js":"2"},"gitHead":"d911d0b2938ec2206ee54d5a05a5c6c352f62ce2","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"homepage":"https://github.com/d3/d3-selection-multi","_id":"d3-selection-multi@0.2.1","scripts":{},"_shasum":"cf7f4be8204f5d1bce689bd5be2fdc22d8d1ef2a","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"cf7f4be8204f5d1bce689bd5be2fdc22d8d1ef2a","size":3243,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.1.tgz","integrity":"sha512-DsUeoXVCPWwkSEUusgdYQI6EUHUWwIyTe/cNVM2+cuN2mzmjd3Lhf4LM8xb5uvspqm5QkbMxB+LiqcfB7Q+G+A=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"directories":{},"publish_time":1432788449333,"_hasShrinkwrap":false,"_cnpm_publish_time":1432788449333,"_cnpmcore_publish_time":"2021-12-16T20:31:02.208Z","contributors":[]},"0.2.0":{"name":"d3-selection-multi","version":"0.2.0","description":"Extension to d3-selection to add multi-value map syntax.","main":"d3-selection-multi","repository":{"type":"git","url":"https://github.com/d3/d3-selection-multi.git"},"devDependencies":{"d3-bundler":"~0.2.1","d3-selection":"~0.4.1","faucet":"0.0","jsdom":"3","requirejs":"2","tape":"4","uglify-js":"2"},"gitHead":"f88afe54240b98cdd1e10180f0a0d0c52259505b","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"homepage":"https://github.com/d3/d3-selection-multi","_id":"d3-selection-multi@0.2.0","scripts":{},"_shasum":"9431b7bdc5f5a1d7d566398f546149f8d5a9608e","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"9431b7bdc5f5a1d7d566398f546149f8d5a9608e","size":3149,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.2.0.tgz","integrity":"sha512-SEWRILtOwHkG+Yg04N+9iPi11/USH29Sl6MFId29MMoHcN9LE2dafL5pmD4nWSY7Kz/fi5UeeoJr7o7NnAH+Hg=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"directories":{},"publish_time":1432787890779,"_hasShrinkwrap":false,"_cnpm_publish_time":1432787890779,"_cnpmcore_publish_time":"2021-12-16T20:31:02.396Z","contributors":[]},"0.0.1":{"name":"d3-selection-multi","version":"0.0.1","description":"Extension to d3-selection to add multi-value map syntax.","main":"lib/d3/selection-multi","repository":{"type":"git","url":"https://github.com/d3/d3-selection-multi.git"},"devDependencies":{"browserify":"10","d3-selection":"0.1","faucet":"0.0","jsdom":"3","tape":"4","uglify-js":"2","requirejs":"2"},"gitHead":"5a11d18deeafbcf40785bc34fb37067211fcf4f4","bugs":{"url":"https://github.com/d3/d3-selection-multi/issues"},"homepage":"https://github.com/d3/d3-selection-multi","_id":"d3-selection-multi@0.0.1","scripts":{},"_shasum":"ed8fcc918c1e8006b398541d2f89dcc097183711","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"anonymous","email":"mike@ocks.org"},"dist":{"shasum":"ed8fcc918c1e8006b398541d2f89dcc097183711","size":3428,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/d3-selection-multi/-/d3-selection-multi-0.0.1.tgz","integrity":"sha512-gBpa5lkW70nKt6NnVI2FmWSjsJLqfZPYLmxZOYUL92RbxeCZr8WE+w9/6miqU2ZwHaFVxvmjiLhIT1vrJ6DUHQ=="},"maintainers":[{"name":"anonymous","email":"mike@ocks.org"}],"directories":{},"publish_time":1432616821624,"_hasShrinkwrap":false,"_cnpm_publish_time":1432616821624,"_cnpmcore_publish_time":"2021-12-16T20:31:02.578Z","contributors":[]}},"dist-tags":{"latest":"1.0.1"},"name":"d3-selection-multi","time":{"created":"2022-01-26T19:54:06.784Z","modified":"2022-01-26T19:54:06.784Z","1.0.1":"2017-02-21T07:01:46.485Z","1.0.0":"2016-07-29T13:49:03.902Z","0.4.1":"2016-07-11T02:27:10.165Z","0.4.0":"2016-06-29T04:50:43.124Z","0.3.0":"2016-06-15T14:17:38.503Z","0.2.10":"2016-02-29T19:05:53.279Z","0.2.9":"2016-01-29T18:36:05.413Z","0.2.8":"2015-11-11T19:44:32.485Z","0.2.7":"2015-11-04T21:49:32.474Z","0.2.6":"2015-11-04T07:50:39.161Z","0.2.5":"2015-06-16T20:44:27.064Z","0.2.4":"2015-06-02T00:56:41.703Z","0.2.3":"2015-05-29T16:41:34.277Z","0.2.2":"2015-05-28T04:49:53.630Z","0.2.1":"2015-05-28T04:47:29.333Z","0.2.0":"2015-05-28T04:38:10.779Z","0.0.1":"2015-05-26T05:07:01.624Z"},"readme":"# d3-selection-multi\n\nThis module adds multi-value syntax to [selections](https://github.com/d3/d3-selection) and [transitions](https://github.com/d3/d3-transition), allowing you to set multiple attributes, styles or properties simultaneously with more concise syntax. For example:\n\n```js\nd3.select(\"body\").append(\"div\")\n    .attrs({\n      title: \"A cheery, timeless greeting.\",\n      class: \"greeting\"\n    })\n    .text(\"Hello, world!\");\n```\n\nThis is equivalent to:\n\n```js\nd3.select(\"body\").append(\"div\")\n    .attr(\"title\", \"A cheery, timeless greeting.\")\n    .attr(\"class\", \"greeting\")\n    .text(\"Hello, world!\");\n```\n\nLike [*selection*.attr](https://github.com/d3/d3-selection#selection_attr), the values in the multi-value object can be functions of data:\n\n```js\nd3.select(\"body\").append(\"div\")\n    .attrs({\n      title: function(d) { return d.title; },\n      id: function(d, i) { return \"id-\" + i; },\n    });\n```\n\nAlternatively, you can pass a function which returns an object, allowing you to share some computational effort across multiple attributes, or to determine which attribute to set dynamically:\n\n```js\nd3.select(\"body\").append(\"div\")\n    .attrs(function(d, i) { return {title: d.title, id: \"id-\" + i}; });\n```\n\nThis module is not included in the [default D3 bundle](https://github.com/d3/d3) for parsimony’s sake: the single-value methods such as [*selection*.attr](https://github.com/d3/d3-selection#selection_attr) are recommended for most users, as there is little benefit to the shorter syntax provided by these convenience method.\n\n## Installing\n\nIf you use NPM, `npm install d3-selection-multi`. Otherwise, download the [latest release](https://github.com/d3/d3-selection-multi/releases/latest) or load directly from [d3js.org](https://d3js.org) as a [standalone library](https://d3js.org/d3-selection-multi.v1.min.js). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3` global is exported:\n\n```html\n<script src=\"https://d3js.org/d3-color.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-dispatch.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-ease.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-interpolate.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-selection.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-timer.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-transition.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-selection-multi.v1.min.js\"></script>\n<script>\n\nvar div = d3.selectAll(\"div\")\n    .attrs({title: \"Hello, world!\"})\n    .styles({\"color\": \"red\"});\n\n</script>\n```\n\nOr, in combination with the [D3 default bundle](https://github.com/d3/d3):\n\n```html\n<script src=\"https://d3js.org/d3.v4.min.js\"></script>\n<script src=\"https://d3js.org/d3-selection-multi.v1.min.js\"></script>\n<script>\n\nvar div = d3.selectAll(\"div\")\n    .attrs({title: \"Hello, world!\"})\n    .styles({\"color\": \"red\"});\n\n</script>\n```\n\n[Try d3-selection-multi in your browser.](https://tonicdev.com/npm/d3-selection-multi)\n\n## API Reference\n\n<a name=\"selection_attrs\" href=\"#selection_attrs\">#</a> <i>selection</i>.<b>attrs</b>(<i>values</i>)\n\nA convenience method on top of [*selection*.attr](https://github.com/d3/d3-selection#selection_attr) for setting multiple attributes. If the specified *values* is an object, the values may be specified either as strings or functions. For example:\n\n```js\nselection.attrs({foo: \"foo-value\", bar: function(d) { return d.bar; }});\n```\n\nIf a value is a constant, all elements are given the same attribute value; otherwise, if a value is a function, the function is evaluated for each selected element, in order, being passed the current datum (*d*), the current index (*i*), and the current group (*nodes*), with *this* as the current DOM element. The function’s return value is then used to set each element’s attribute. A null value will remove the specified attribute.\n\nIf the specified *values* is a function, the function is evaluated for each selected element, in order, being passed the current datum (*d*), the current index (*i*), and the current group (*nodes*), with *this* as the current DOM element. The function’s return value must be an object with string values, which are then used to set attributes on the current element. For example:\n\n```js\nselection.attrs(function(d) { return {foo: \"foo-value\", bar: d.bar}; });\n```\n\nPassing a function to *selection*.attrs is convenient for sharing some computational effort or state across multiple attributes, or for specifying dynamically which attributes to set.\n\n<a name=\"selection_styles\" href=\"#selection_styles\">#</a> <i>selection</i>.<b>styles</b>(<i>values</i>[, <i>priority</i>])\n\nA convenience method on top of [*selection*.style](https://github.com/d3/d3-selection#selection_style) for setting multiple style properties. If the specified *values* is an object, the values may be specified either as strings or functions. For example:\n\n```js\nselection.styles({fill: \"red\", stroke: function(d) { return d.stroke; }});\n```\n\nIf a value is a constant, all elements are given the same style property value; otherwise, if a value is a function, the function is evaluated for each selected element, in order, being passed the current datum (*d*), the current index (*i*), and the current group (*nodes*), with *this* as the current DOM element. The function’s return value is then used to set each element’s style properties. A null value will remove the specified style properties.\n\nIf the specified *values* is a function, the function is evaluated for each selected element, in order, being passed the current datum (*d*), the current index (*i*), and the current group (*nodes*), with *this* as the current DOM element. The function’s return value must be an object with string values, which are then used to set style properties on the current element. For example:\n\n```js\nselection.styles(function(d) { return {fill: \"red\", stroke: d.stroke}; });\n```\n\nPassing a function to *selection*.styles is convenient for sharing some computational effort or state across multiple style properties, or for specifying dynamically which style properties to set.\n\n<a name=\"selection_properties\" href=\"#selection_properties\">#</a> <i>selection</i>.<b>properties</b>(<i>values</i>)\n\nA convenience method on top of [*selection*.property](https://github.com/d3/d3-selection#selection_property) for setting multiple element properties. If the specified *values* is an object, the values may be specified either as strings or functions. For example:\n\n```js\nselection.properties({foo: \"foo-value\", id: function(d, i) { return \"id-\" + i; }});\n```\n\nIf a value is a constant, all elements are given the same property value; otherwise, if a value is a function, the function is evaluated for each selected element, in order, being passed the current datum (*d*), the current index (*i*), and the current group (*nodes*), with *this* as the current DOM element. The function’s return value is then used to set each element’s properties. A null value will remove the specified properties.\n\nIf the specified *values* is a function, the function is evaluated for each selected element, in order, being passed the current datum (*d*), the current index (*i*), and the current group (*nodes*), with *this* as the current DOM element. The function’s return value must be an object with string values, which are then used to set properties on the current element. For example:\n\n```js\nselection.properties(function(d, i) { return {foo: \"foo-value\", id: \"id-\" + i}; });\n```\n\nPassing a function to *selection*.properties is convenient for sharing some computational effort or state across multiple properties, or for specifying dynamically which properties to set.\n\n<a name=\"transition_attrs\" href=\"#transition_attrs\">#</a> <i>transition</i>.<b>attrs</b>(<i>values</i>)\n\nLike [*selection*.attrs](#selection_attrs), but for [*transition*.attr](https://github.com/d3/d3-transition#transition_attr).\n\n<a name=\"transition_styles\" href=\"#transition_styles\">#</a> <i>transition</i>.<b>styles</b>(<i>values</i>[, <i>priority</i>])\n\nLike [*selection*.styles](#selection_styles), but for [*transition*.style](https://github.com/d3/d3-transition#transition_style).","users":{}}