{"url":"https://api.github.com/gists/4573883","forks_url":"https://api.github.com/gists/4573883/forks","commits_url":"https://api.github.com/gists/4573883/commits","id":"4573883","node_id":"MDQ6R2lzdDQ1NzM4ODM=","git_pull_url":"https://gist.github.com/4573883.git","git_push_url":"https://gist.github.com/4573883.git","html_url":"https://gist.github.com/mbostock/4573883","files":{".block":{"filename":".block","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/4573883/raw/703d310b399098a243a76a50bc209167e924cfd2/.block","size":17,"truncated":false,"content":"license: gpl-3.0\n","encoding":"utf-8"},"README.md":{"filename":"README.md","type":"text/markdown","language":"Markdown","raw_url":"https://gist.githubusercontent.com/mbostock/4573883/raw/adc2b73b91cdd2964af237c21be84d686fdbc7b3/README.md","size":694,"truncated":false,"content":"This example demonstrates how to construct a key from a [threshold scale](https://github.com/d3/d3-scale/blob/master/README.md#scaleThreshold), in the style of Ford Fessenden’s [map of police stops involving force](http://www.nytimes.com/interactive/2012/08/16/nyregion/new-york-police-stop-and-frisk-use-of-force-map.html). A [linear scale](https://github.com/d3/d3-scale/blob/master/README.md#scaleLinear) is used to set the *x*-position of each colored rectangle in the key. There is one rectangle per color in the threshold scale’s range, and one tick per value in the threshold scale’s domain. The linear scale’s domain sets the implied extent of the key, here spanning 0 to 100%.\n","encoding":"utf-8"},"index.html":{"filename":"index.html","type":"text/html","language":"HTML","raw_url":"https://gist.githubusercontent.com/mbostock/4573883/raw/f84d9fa2e84883b2bb0537986ff96aa13d4a29af/index.html","size":1337,"truncated":false,"content":"<!DOCTYPE html>\n<svg width=\"960\" height=\"500\"><g transform=\"translate(360,250)\"></g></svg>\n<script src=\"https://d3js.org/d3.v4.min.js\"></script>\n<script>\n\nvar formatPercent = d3.format(\".0%\"),\n    formatNumber = d3.format(\".0f\");\n\nvar threshold = d3.scaleThreshold()\n    .domain([0.11, 0.22, 0.33, 0.50])\n    .range([\"#6e7c5a\", \"#a0b28f\", \"#d8b8b3\", \"#b45554\", \"#760000\"]);\n\nvar x = d3.scaleLinear()\n    .domain([0, 1])\n    .range([0, 240]);\n\nvar xAxis = d3.axisBottom(x)\n    .tickSize(13)\n    .tickValues(threshold.domain())\n    .tickFormat(function(d) { return d === 0.5 ? formatPercent(d) : formatNumber(100 * d); });\n\nvar g = d3.select(\"g\").call(xAxis);\n\ng.select(\".domain\")\n    .remove();\n\ng.selectAll(\"rect\")\n  .data(threshold.range().map(function(color) {\n    var d = threshold.invertExtent(color);\n    if (d[0] == null) d[0] = x.domain()[0];\n    if (d[1] == null) d[1] = x.domain()[1];\n    return d;\n  }))\n  .enter().insert(\"rect\", \".tick\")\n    .attr(\"height\", 8)\n    .attr(\"x\", function(d) { return x(d[0]); })\n    .attr(\"width\", function(d) { return x(d[1]) - x(d[0]); })\n    .attr(\"fill\", function(d) { return threshold(d[0]); });\n\ng.append(\"text\")\n    .attr(\"fill\", \"#000\")\n    .attr(\"font-weight\", \"bold\")\n    .attr(\"text-anchor\", \"start\")\n    .attr(\"y\", -6)\n    .text(\"Percentage of stops that involved force\");\n\n</script>\n","encoding":"utf-8"},"thumbnail.png":{"filename":"thumbnail.png","type":"image/png","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/4573883/raw/5f9aeb3204f0211113cf1b160061b4aa7b16d71c/thumbnail.png","size":4275,"truncated":false,"content":"iVBORw0KGgoAAAANSUhEUgAAAOYAAAB4CAIAAABpZBnfAAAKg2lDQ1BpY20A\nAEjHlZYHUFPpFse/e9MbLSECUkLvvYP0Grp0EJWQhBBKDIHQ7Iq4gmtBRATU\nFV2qgmsBZC2IKBYWQQXsC7KoKOtiAVRU3kUe8b15s/Nmz8yZ+5szZ/7f+cqd\n+QNALmMJhamwDABpgkxRqI87IzomloF7DCBABhRgCuRZ7AyhW0hIAPjbmBpA\nupG4YzynBf5ZyHK4GWwAoBCEEzgZ7DSETyO5gS0UZQKAskLqWtmZwjmORpgm\nQgZEeG4dGm+eN8xxwjyXfOsJD/VAuBYAPJnFEvEAICGagJHF5iE6pLs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RgkC8IgWRAGyYIwSBaEQbIgDJIFYZAsCINkQRgkC8IgWRAG\nyYIwSBaEQbIgDJIFYZAsCINkQRgkC8L8A9a6W2750tfiAAAAAElFTkSuQmCC\n","encoding":"base64"}},"public":true,"created_at":"2013-01-19T17:44:34Z","updated_at":"2024-08-01T02:52:40Z","description":"Threshold Key","comments":0,"user":null,"comments_enabled":true,"comments_url":"https://api.github.com/gists/4573883/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","user_view_type":"public","site_admin":false},"forks":[{"url":"https://api.github.com/gists/4611527","user":{"login":"xqin1","id":1286513,"node_id":"MDQ6VXNlcjEyODY1MTM=","avatar_url":"https://avatars.githubusercontent.com/u/1286513?v=4","gravatar_id":"","url":"https://api.github.com/users/xqin1","html_url":"https://github.com/xqin1","followers_url":"https://api.github.com/users/xqin1/followers","following_url":"https://api.github.com/users/xqin1/following{/other_user}","gists_url":"https://api.github.com/users/xqin1/gists{/gist_id}","starred_url":"https://api.github.com/users/xqin1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xqin1/subscriptions","organizations_url":"https://api.github.com/users/xqin1/orgs","repos_url":"https://api.github.com/users/xqin1/repos","events_url":"https://api.github.com/users/xqin1/events{/privacy}","received_events_url":"https://api.github.com/users/xqin1/received_events","type":"User","user_view_type":"public","site_admin":false,"name":"xiaoming qin","company":null,"blog":"","location":null,"email":"qinxm2000@yahoo.com","hireable":null,"bio":null,"twitter_username":null,"public_repos":66,"public_gists":13,"followers":13,"following":1,"created_at":"2011-12-26T16:07:45Z","updated_at":"2026-03-12T15:32:38Z"},"id":"4611527","created_at":"2013-01-23T18:51:00Z","updated_at":"2015-12-11T13:59:04Z"},{"url":"https://api.github.com/gists/6537398","user":{"login":"couchand","id":793969,"node_id":"MDQ6VXNlcjc5Mzk2OQ==","avatar_url":"https://avatars.githubusercontent.com/u/793969?v=4","gravatar_id":"","url":"https://api.github.com/users/couchand","html_url":"https://github.com/couchand","followers_url":"https://api.github.com/users/couchand/followers","following_url":"https://api.github.com/users/couchand/following{/other_user}","gists_url":"https://api.github.com/users/couchand/gists{/gist_id}","starred_url":"https://api.github.com/users/couchand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchand/subscriptions","organizations_url":"https://api.github.com/users/couchand/orgs","repos_url":"https://api.github.com/users/couchand/repos","events_url":"https://api.github.com/users/couchand/events{/privacy}","received_events_url":"https://api.github.com/users/couchand/received_events","type":"User","user_view_type":"public","site_admin":false,"name":"Andrew Dona-Couch -- GitHub drop ICE","company":null,"blog":"http://couchand.github.io","location":null,"email":null,"hireable":null,"bio":null,"twitter_username":null,"public_repos":255,"public_gists":21,"followers":68,"following":71,"created_at":"2011-05-17T17:33:56Z","updated_at":"2026-02-12T15:37:08Z"},"id":"6537398","created_at":"2013-09-12T13:33:50Z","updated_at":"2016-09-15T18:42:37Z"},{"url":"https://api.github.com/gists/9806775","user":{"login":"jschristensen","id":3831377,"node_id":"MDQ6VXNlcjM4MzEzNzc=","avatar_url":"https://avatars.githubusercontent.com/u/3831377?v=4","gravatar_id":"","url":"https://api.github.com/users/jschristensen","html_url":"https://github.com/jschristensen","followers_url":"https://api.github.com/users/jschristensen/followers","following_url":"https://api.github.com/users/jschristensen/following{/other_user}","gists_url":"https://api.github.com/users/jschristensen/gists{/gist_id}","starred_url":"https://api.github.com/users/jschristensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschristensen/subscriptions","organizations_url":"https://api.github.com/users/jschristensen/orgs","repos_url":"https://api.github.com/users/jschristensen/repos","events_url":"https://api.github.com/users/jschristensen/events{/privacy}","received_events_url":"https://api.github.com/users/jschristensen/received_events","type":"User","user_view_type":"public","site_admin":false,"name":null,"company":null,"blog":"","location":null,"email":null,"hireable":null,"bio":null,"twitter_username":null,"public_repos":27,"public_gists":4,"followers":2,"following":8,"created_at":"2013-03-11T12:03:11Z","updated_at":"2026-04-05T18:41:40Z"},"id":"9806775","created_at":"2014-03-27T12:47:16Z","updated_at":"2015-08-29T13:57:47Z"},{"url":"https://api.github.com/gists/3f7f86edf4ef46efb2c4585d1fa53ade","user":{"login":"git-ashish","id":2697421,"node_id":"MDQ6VXNlcjI2OTc0MjE=","avatar_url":"https://avatars.githubusercontent.com/u/2697421?v=4","gravatar_id":"","url":"https://api.github.com/users/git-ashish","html_url":"https://github.com/git-ashish","followers_url":"https://api.github.com/users/git-ashish/followers","following_url":"https://api.github.com/users/git-ashish/following{/other_user}","gists_url":"https://api.github.com/users/git-ashish/gists{/gist_id}","starred_url":"https://api.github.com/users/git-ashish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-ashish/subscriptions","organizations_url":"https://api.github.com/users/git-ashish/orgs","repos_url":"https://api.github.com/users/git-ashish/repos","events_url":"https://api.github.com/users/git-ashish/events{/privacy}","received_events_url":"https://api.github.com/users/git-ashish/received_events","type":"User","user_view_type":"public","site_admin":false,"name":"Ashish Singh","company":null,"blog":"https://iashishsingh.com","location":"Vadodara, Gujarat, India","email":null,"hireable":true,"bio":"Freelance Data Visualisation Consultant","twitter_username":null,"public_repos":153,"public_gists":157,"followers":21,"following":57,"created_at":"2012-11-01T08:37:06Z","updated_at":"2026-03-27T06:23:39Z"},"id":"3f7f86edf4ef46efb2c4585d1fa53ade","created_at":"2018-09-17T12:46:38Z","updated_at":"2018-09-17T12:46:38Z"}],"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","user_view_type":"public","site_admin":false},"version":"62b41fa3cdcae0a3a1c04a2d8dff39d6e794b24e","committed_at":"2017-01-23T22:54:34Z","change_status":{"total":80,"additions":24,"deletions":56},"url":"https://api.github.com/gists/4573883/62b41fa3cdcae0a3a1c04a2d8dff39d6e794b24e"},{"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","user_view_type":"public","site_admin":false},"version":"4c8c1ad8b194d1bffbea09eab43d894ff1967fc8","committed_at":"2016-02-09T02:09:02Z","change_status":{"total":1,"additions":1,"deletions":0},"url":"https://api.github.com/gists/4573883/4c8c1ad8b194d1bffbea09eab43d894ff1967fc8"},{"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","user_view_type":"public","site_admin":false},"version":"b9f2021a5150fcb0db3a886c854a7d2dc2d2ada0","committed_at":"2015-10-31T01:32:53Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/4573883/b9f2021a5150fcb0db3a886c854a7d2dc2d2ada0"},{"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","user_view_type":"public","site_admin":false},"version":"22173e6a3b5dd34acbb66d92769e526d522d7c15","committed_at":"2015-06-11T19:26:34Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/4573883/22173e6a3b5dd34acbb66d92769e526d522d7c15"},{"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","user_view_type":"public","site_admin":false},"version":"401fa8c22087d71c7cca9d5169a2994f327c80c0","committed_at":"2013-08-20T21:43:47Z","change_status":{"total":19,"additions":9,"deletions":10},"url":"https://api.github.com/gists/4573883/401fa8c22087d71c7cca9d5169a2994f327c80c0"},{"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","user_view_type":"public","site_admin":false},"version":"cef8acacfbb1cb8e3f3fa42c6698cca7fd8c37cc","committed_at":"2013-06-08T19:26:07Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/4573883/cef8acacfbb1cb8e3f3fa42c6698cca7fd8c37cc"},{"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","user_view_type":"public","site_admin":false},"version":"bffa420c6ca465ba2cba0307b44929141345198e","committed_at":"2013-06-08T19:24:35Z","change_status":{"total":15,"additions":11,"deletions":4},"url":"https://api.github.com/gists/4573883/bffa420c6ca465ba2cba0307b44929141345198e"},{"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","user_view_type":"public","site_admin":false},"version":"b5a99fe850cb0145098b6daee7134b2044f9634b","committed_at":"2013-01-20T03:41:33Z","change_status":{"total":0,"additions":0,"deletions":0},"url":"https://api.github.com/gists/4573883/b5a99fe850cb0145098b6daee7134b2044f9634b"},{"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","user_view_type":"public","site_admin":false},"version":"a1538b607226d311a4e3bac8ed94c3df6119f3f6","committed_at":"2013-01-19T18:44:56Z","change_status":{"total":41,"additions":17,"deletions":24},"url":"https://api.github.com/gists/4573883/a1538b607226d311a4e3bac8ed94c3df6119f3f6"},{"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","user_view_type":"public","site_admin":false},"version":"6caf561d7ba0352a5be8ad30f742d60b0cbfa37c","committed_at":"2013-01-19T18:01:47Z","change_status":{"total":6,"additions":3,"deletions":3},"url":"https://api.github.com/gists/4573883/6caf561d7ba0352a5be8ad30f742d60b0cbfa37c"},{"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","user_view_type":"public","site_admin":false},"version":"67a1b8dd9a2ea4289e1ce1e1e4a34e24eeb04786","committed_at":"2013-01-19T18:00:49Z","change_status":{},"url":"https://api.github.com/gists/4573883/67a1b8dd9a2ea4289e1ce1e1e4a34e24eeb04786"},{"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","user_view_type":"public","site_admin":false},"version":"af7c0fb2df8038536989757ef22329cde1264bc3","committed_at":"2013-01-19T17:59:58Z","change_status":{},"url":"https://api.github.com/gists/4573883/af7c0fb2df8038536989757ef22329cde1264bc3"},{"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","user_view_type":"public","site_admin":false},"version":"d374356869407b2b30055ec62a58bb2c91a54033","committed_at":"2013-01-19T17:45:47Z","change_status":{},"url":"https://api.github.com/gists/4573883/d374356869407b2b30055ec62a58bb2c91a54033"},{"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","user_view_type":"public","site_admin":false},"version":"576525d2d05682b2b3dec57a2bb02725abf139a6","committed_at":"2013-01-19T17:45:23Z","change_status":{},"url":"https://api.github.com/gists/4573883/576525d2d05682b2b3dec57a2bb02725abf139a6"},{"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","user_view_type":"public","site_admin":false},"version":"0627e40edaeaafee772bfc52ecfb09b5806a7003","committed_at":"2013-01-19T17:44:34Z","change_status":{},"url":"https://api.github.com/gists/4573883/0627e40edaeaafee772bfc52ecfb09b5806a7003"}],"truncated":false}