{"url":"https://api.github.com/gists/1073373","forks_url":"https://api.github.com/gists/1073373/forks","commits_url":"https://api.github.com/gists/1073373/commits","id":"1073373","node_id":"MDQ6R2lzdDEwNzMzNzM=","git_pull_url":"https://gist.github.com/1073373.git","git_push_url":"https://gist.github.com/1073373.git","html_url":"https://gist.github.com/mbostock/1073373","files":{".block":{"filename":".block","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/1073373/raw/132247f724f5a5adda0e20a433716e866fb25af7/.block","size":77,"truncated":false,"content":"license: gpl-3.0\nredirect: https://observablehq.com/@d3/force-directed-states"},"README.md":{"filename":"README.md","type":"text/markdown","language":"Markdown","raw_url":"https://gist.githubusercontent.com/mbostock/1073373/raw/201f6ec1661f2010286d6dc1fd2b3bf10b6d535f/README.md","size":408,"truncated":false,"content":"**Click and drag to move states around.**\n\nSo, what happens when you use the [Delaunay triangulation](http://en.wikipedia.org/wiki/Delaunay_triangulation) to compute links between the centroids of the lower 48 United States of America? And then you simulate the whole thing as a [force-directed graph](https://github.com/mbostock/d3/wiki/Force-Layout)? This, it turns out! Built with [D3](http://d3js.org/).\n"},"index.html":{"filename":"index.html","type":"text/html","language":"HTML","raw_url":"https://gist.githubusercontent.com/mbostock/1073373/raw/ba656bcbd7cad137e7e75d090604e0e231e19849/index.html","size":2389,"truncated":false,"content":"\n\n\n
\n\n\n\n"},"thumbnail.png":{"filename":"thumbnail.png","type":"image/png","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/1073373/raw/59c2ea59d1a6a204571ab065fd1182e90ecd876c/thumbnail.png","size":11420,"truncated":false,"content":"�PNG\r\n\u001A\n\u0000\u0000\u0000\rIHDR\u0000\u0000\u0000�\u0000\u0000\u0000x\b\u0006\u0000\u0000\u0000�\u0006��\u0000\u0000\u0000\u0019tEXtSoftware\u0000Adobe ImageReadyq�e<\u0000\u0000,>IDATx��g�\u001CE�F\u0007!\u0016��xX��B\u0004\u001F���\u0016����ޭXxu&8\u0013\u000FwoVU��i3�\u0011�\u001EuW����z��\u001F��\u0017\u0017\u0017/�}ݹ�c�9\u000E=\u001E���������zj��\u001Cs\u001Cs�T������7�َۧz��}���o��v��c�]��o��}��ŭ[���1�y\u001D��\u001F�x����\u0002���������O.�织\u001F~�\u0012��>���k\u0002u�]ǯ��z��~��K�Ͼ��?�1�ٍo����\u001F~�x��'�8# �駟.\u001Ez�+��=y%P\u001Fy������&X�X\u001A�;w�\\�P�\u0000*�d�L`�\u0001��0�\u0018�b�^x��9\u000E��@\u0015�\f�\n\u0015���1��?��\u0004\"�d��\u0002�\u0010�g�y�����)L�\u0013�h\u000B�\u0000���\u0006��Q�\u001B\u0011��N��\u001C�\u0018˞J��=\u0003C���\u0000`�����.\u0001�\u0004�ѹ�����rz����Ey�Qy�q39f�_��P�&0\u0017&,��\u0011��I�s�'eDl��o��jꦾ�i�nz�\u0003i�\u001BHW\u0013����\u0003�Y\u0005\u001F�\u0007h��\u001D7�\u0018��qO<�ĥ��g�\\�\u0014_\u0014�\u0013�iH\u0002�[9��`�\u000FIb�{�g�O'�}��ח�G$�\t�\u0000F����jM�x���I=S \u0001H@�Qi\r0,\u0018���y\u001Fy>9j��=t://��\u0012�$N\u001E����[��ϻM�����cF�����o��[ɧ�?����{���;�:㊻\u000Eu���$,m^6.�ai�8,�\u0000CP�1]\u0014�KP$`v�t�+Š<67E\u00023_,4��g�WnXA��\r&��ځz��Fġ�n�qKk�$��߸��\u0005���C�y1����/%1ρD\u0005X=7�}����z��o60���{��e����_��ua�p��U_dQx���\u001B\u0003\u0010\u000B�8˹�Ia;�x+ש�I\u0010K\u001C\u0010�?���������>*7f����n �C� \u0006�0X3���\u000Eޕ�\u0018\u0018\u000B�j��=�|0o�\u0007@u��۪B�\u0006]W���\u0002���g�}�*���O?m7<�(uS���\u0004\u000F��!����~&\u0010�N��\u0002�\u0013I��U���^o\u001F\u001D4�9�\u0003��$\b\\�\r�8vl�]�\u000B:�%�\u0000��\u00134\u0010\u0018�\b.���l|�gZTyf�\u00051�{8�s��!�|V\r=�\u001D��~]sw�����P_~��ū��z�k�\r�\"��3�\u0015�Zd\u0005\"�g!�?��\u0014s\u00143�\u0002���\"rr8�]��\bty�>\"l���j�z�\u0018�j�\rf�\u0019�~\u0005\\8'̿D��!���\u0006���o�Y������7�\u0001���r\u001D�\u000B c-}n��e�����µက�{�Z��u��0���\u001E%0\r��+�HP;\u0016�\t��v�\t�cq86é\u0014s4\u0016��3�R�ޞ;-�i\u001C�\u001B19p\u0005���\u0012\u0010�y?��i]�\u0014̉�����\u001C�\u0006e~�\u001D��U��̗�!\u001B��\u0001�\u00068An��Ҍ��Zi��B���\u001C��9��8i\u0000����_^�����Hb���芪B\u0000Z\u0002���'/���N���\u0006&N���~��\u0017��,�g���`(%�\"�t3��\\