{"url":"https://api.github.com/gists/5369146","forks_url":"https://api.github.com/gists/5369146/forks","commits_url":"https://api.github.com/gists/5369146/commits","id":"5369146","node_id":"MDQ6R2lzdDUzNjkxNDY=","git_pull_url":"https://gist.github.com/5369146.git","git_push_url":"https://gist.github.com/5369146.git","html_url":"https://gist.github.com/mbostock/5369146","files":{".block":{"filename":".block","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/5369146/raw/703d310b399098a243a76a50bc209167e924cfd2/.block","size":17,"truncated":false,"content":"license: gpl-3.0\n"},"README.md":{"filename":"README.md","type":"text/markdown","language":"Markdown","raw_url":"https://gist.githubusercontent.com/mbostock/5369146/raw/e1aeb54c6d3148883e5a48816ae8aca5f8905c7b/README.md","size":419,"truncated":false,"content":"This animation demonstrates how [selection.selectAll](https://github.com/mbostock/d3/wiki/Selections#wiki-selectAll) works: every element in the old selection becomes a group in the new selection. Here, an initial selection of table rows is then used to create a selection of table cells:\n\n```js\nd3.selectAll(\"tr\").selectAll(\"td\");\n```\n\nThe result is a selection of table cells (td elements) grouped by their table row."},"index.html":{"filename":"index.html","type":"text/html","language":"HTML","raw_url":"https://gist.githubusercontent.com/mbostock/5369146/raw/9f305a8f97e5313aaf26b83a2870d2f7f9c5ddcd/index.html","size":10221,"truncated":false,"content":"\n\n\n
\n\n\n"},"thumbnail.png":{"filename":"thumbnail.png","type":"image/png","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/5369146/raw/1226e86424e09f49cf582b6fb9e96852b7c0cd70/thumbnail.png","size":5907,"truncated":false,"content":"�PNG\r\n\u001A\n\u0000\u0000\u0000\rIHDR\u0000\u0000\u0000�\u0000\u0000\u0000x\b\u0002\u0000\u0000\u0000id\u0019�\u0000\u0000\u000B�iCCPicm\u0000\u0000HǕ�\u0007TSI\u0017��\u0014B\u0012J \u0002RB�H�.�\u000B\n��FHB\u0012J\f��b/�\n�\u0005\u0015Q��\n��k\u0001d�aW\u0016��7\u0016T�uQ\u0017\u001B*�$\u0001�����g眙��;w�ܹoޜ�\u0000�;�bq6�\u000E@�(_\u0012\u001B\u0016�JNIe��\u0003\fh\u0000\u0006 \u0002}6'O\u001C\u0010\u0013\u0013\u0005����\u0001\u0010���\u0016�wE����\u0000��@N��qr \u001F\u0002\u0000k�%�\u0000\u0010���f��\u001A��\u0004:\by���Jn�s���\u0015:�A�e\u0000��l��\u000F\u0000�\u0017�Y\u0005\u001C>�C�Bv\u0014q�\"�� �r\u0004l.乐�rrfȹ\u0006�U�_����f��M6�?�ʵ(\n9X�'�f������%'[:<�!�Լ��H�d¸��C� �@^)�ED\r�w��\u0003c�����xy� _\u0013H�\u0013���4+!\u0000�>��Y3\"��0N��(}b4dM�f���T�MԭP\u0010�4�\u0013��\u0005�@��\bM�̈\u001D�\u0017�\u0015�\r�\u000B\u000B\u0005A\u0013��3���ߛ\u000E��-Q�\u0005��V����@�+Ώ�\u001F��C�=qh-�\fIh�\u0010��)֫�+_\u0010\u001F������\r����g\bC#�>`�\u0002I���_����p,\u0016/����`\u00069�'J\u0018��\u0015s���ʘ`�A(`\u0003\t��t \u0002=�\u0005�@\u0010\b\u001EjYP.�-\u0007�\u0000ٰJXj�=���.�#�u��p{D;hX\u000F\b\u0001\u0017>�圿��@!�\u001DZ偼��p=�\u0017�ƣ`�\u000F�3�{\u000E�u�6��x���\u000F��\u000FI\u0002��/�\u0016�\f�M\u0017.�|7&}d��}\n\u0005O\u0014V�4\u001C�\u001C{\u001C?\u000F���bb\b1�\u0018N\f%Zc˱��9�$v\u0001kŚ\u0000\u000B;�5c��Q97\u000B{(*\u0012�z#�< U����G�\u0011�!)݆�\nb\u0015�Y�O82C��k�߬HaM��2a_��\u001A�#m\u0001��\u0007�>0�0�8\u0013�\u0003��X\u0018�\u0000�\u000F~\u0003W(\r�~�Pk\u000F2\u0014�,P�%\u000B<���ϛ�/��A3ij%B� �\u0015\u0000OK�\u001D+B�q�c9;:�\u0000�٫���2\u0015g*¼�M�{\u0002\u0000�b(���M\u00018�\u0014\u0000ƻo2�7�7�g��N�TR����\u0000(@\r�~]xr�\u0002+�3p\u0003��\u001F��� \u001Aă\u00140\rFW\u0000r��3�\\�\b\u0014�\u0012�\u001A�\u0007��6�\u0013Ԁ}�\u0000h\u0002��$8\u000B.�Np\u001D�\u00052�\r^�>�\u000E\f \bBBh\b\u0003�E�\u0010s�\u0016qF<\u0010_$\u0004�Bb�\u0014$\r�#\"D��E� %H\u0019�\tف�\"?#G���\u0005�\u000B��g\u000BE��\fK>g������R��o؈\\i<�\u0018;�s�ĉJ�R�\u0010���ի���9�2�B��9O$\u0012�J�T*9��1&�x<\u001E�v4�gnn�o\u0004;�;��7�\u0014BPJ\u0017\u0016\u0016r��ƍ\u001B��Gzy:�N�߿��7�8x��s�=\u0017\f\u0006�#���������^XXX4{\u0001��F'�9\"���+�\u000B\u001A\u001B\u001EC�\u000B�\n�\t�\bq�2D\bF\u0018Q�M%����o~\u0006ati�2�d2\u0019\f\u0006��^�\u0018�DpΘ��\n�lǙ�����r>���*�J(\u0014���&�\u0018�\u0011�F�+D\u0006q��ϛ\u001Fܒ��\u0017.�C\u0006c\u001C!T�\\6�J���`0�h\u0015�:�RJ������_���\u0007\u000F�ڵK�@\u0010B��`0���S��ڵkoƓ�\\\u001A2��R����ǿ�nn��q{n��ھ��P�f���\u0016���OVn\u0018F.��^aÞ�&Ԙ�\u0001B�����:�S��{Mv&�͙�hL\b����&��P�͵\u001D���h�\u0004����\u001Ac�hm���.�8���0��5K]�˒�\u000F�5$Yj��3�yf`�\u001F�˘`��\u0010�u\u001C��k;��i��wS�`8���\u000B\t�.iW�=ss���G\u001E�\u001Cii�#\u0011�lG0V^�df�'��u�U�V�|���v91�u=���1���˦1�sss�~;�1!��\r��V6m�\u0014�D�4��K�b�R���0B�7\u00148��vtt,�\u0018�{U*�b�\u0018Z�\u0018\u000FЍO�\u0010����*�>�|s\bc\"�ŕe�+��}!�@�`}��\u0005�c��d�sO���$�tz��sg\bF\ba��w\u0017f;;��Y�q,\u0016+\u0014\n�r���U�~���WW�r�\u001C%�/���Cw��?Z�2��q\u001C˲��-;;;��i�rժv�P�`�utt\u001C8p`]��_\b!B�i��r������l�j�vY��6 >�裏�&+�Ѷ�����E��\r^r\";>>\u001E��\u0003�\u0000l��Cc��b�8GB\\����\u0011WUs�X\b\u0011��9�B\u0001]�\u001A����m��1!��\u0014^��X,2�-��x 33S.�C��������d�q\u001C]�\t!��2�q\"�HKKK\u001D�\u001D!�1��ӳo߾\u001D;v|���՝\u000F/�\u0011�1&��4�P(�رc߾}===0��[s��\t!���>�/��g��|>�ӽ_���gυB!J����x<���I�R�u\u0007\u0007\u0007w�u�ֱ����dr���\u001D�5M\u001B\u001B\u001Bۺu��ݻ\u0007\u0007\u0007�[\u000F@\u001D�p���\u0010�`�0\f���.����cΛSS�--Q�e����{f\r\f\ftww/:���į=���w߅\u0003i��\t�U��+\u001E;v�sqa&C4O8\u001Cr\u001C�0\f8\\QE͜l-yP��i\b\t�\u0005��u�${\u0013��9 �\u001B\f��Q�A�@10�\u0002��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��d�b Y�\u0018H\u0016(\u0006�\u0005��?\u0018��I#)4C\u0000\u0000\u0000\u0000IEND�B`�"}},"public":true,"created_at":"2013-04-12T03:37:20Z","updated_at":"2016-02-09T02:06:51Z","description":"How selectAll Works","comments":0,"user":null,"comments_url":"https://api.github.com/gists/5369146/comments","owner":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"forks":[],"history":[{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"version":"5c073be11f2354b8687638aacd8a1870398831d6","committed_at":"2016-02-09T02:06:49Z","change_status":{"total":1,"additions":1,"deletions":0},"url":"https://api.github.com/gists/5369146/5c073be11f2354b8687638aacd8a1870398831d6"},{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"version":"274b11b57a8fc71433c9aab499751b1cf78fb08d","committed_at":"2015-10-31T01:39:23Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/5369146/274b11b57a8fc71433c9aab499751b1cf78fb08d"},{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"version":"4f6901ed7ad534d0344a5b4620cd0853331670b0","committed_at":"2015-06-11T19:24:28Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/5369146/4f6901ed7ad534d0344a5b4620cd0853331670b0"},{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"version":"84cce6f4959acba9035a778fc81d5fb1256d8cf5","committed_at":"2013-04-12T15:06:31Z","change_status":{"total":50,"additions":8,"deletions":42},"url":"https://api.github.com/gists/5369146/84cce6f4959acba9035a778fc81d5fb1256d8cf5"},{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"version":"7edcfc65c2775a4c69cb50e02fc14a641aaf0c54","committed_at":"2013-04-12T04:29:12Z","change_status":{"total":0,"additions":0,"deletions":0},"url":"https://api.github.com/gists/5369146/7edcfc65c2775a4c69cb50e02fc14a641aaf0c54"},{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"version":"5b08dc980a27f11ab78bee7dd3122f17014092e9","committed_at":"2013-04-12T03:54:44Z","change_status":{"total":6,"additions":3,"deletions":3},"url":"https://api.github.com/gists/5369146/5b08dc980a27f11ab78bee7dd3122f17014092e9"},{"user":{"login":"mbostock","id":230541,"node_id":"MDQ6VXNlcjIzMDU0MQ==","avatar_url":"https://avatars.githubusercontent.com/u/230541?v=4","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"version":"8714bf4ed94ddc4de29a5736d1ef704f27d53bba","committed_at":"2013-04-12T03:37:20Z","change_status":{"total":401,"additions":401,"deletions":0},"url":"https://api.github.com/gists/5369146/8714bf4ed94ddc4de29a5736d1ef704f27d53bba"}],"truncated":false}