{"url":"https://api.github.com/gists/1005090","forks_url":"https://api.github.com/gists/1005090/forks","commits_url":"https://api.github.com/gists/1005090/commits","id":"1005090","node_id":"MDQ6R2lzdDEwMDUwOTA=","git_pull_url":"https://gist.github.com/1005090.git","git_push_url":"https://gist.github.com/1005090.git","html_url":"https://gist.github.com/mbostock/1005090","files":{".block":{"filename":".block","type":"text/plain","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/1005090/raw/452fe3f9334096f1cc62f729a6dc76cf72c54e80/.block","size":75,"truncated":false,"content":"license: gpl-3.0\nredirect: https://observablehq.com/@d3/d3-marimekko-chart\n","encoding":"utf-8"},"index.html":{"filename":"index.html","type":"text/html","language":"HTML","raw_url":"https://gist.githubusercontent.com/mbostock/1005090/raw/770a42caf4c528ef318030456c57cccab3ded22e/index.html","size":3120,"truncated":false,"content":"<!DOCTYPE html>\n<meta charset=\"utf-8\">\n<title>Marimekko Chart</title>\n<style>\n\nbody {\n  font: 10px sans-serif;\n}\n\nrect {\n  stroke: #000;\n}\n\nsvg {\n  shape-rendering: crispEdges;\n}\n\n</style>\n<body>\n<script src=\"//d3js.org/d3.v3.min.js\"></script>\n<script>\n\nvar width = 960,\n    height = 500,\n    margin = 20;\n\nvar x = d3.scale.linear()\n    .range([0, width - 3 * margin]);\n\nvar y = d3.scale.linear()\n    .range([0, height - 2 * margin]);\n\nvar z = d3.scale.category10();\n\nvar n = d3.format(\",d\"),\n    p = d3.format(\"%\");\n\nvar svg = d3.select(\"body\").append(\"svg\")\n    .attr(\"width\", width)\n    .attr(\"height\", height)\n  .append(\"g\")\n    .attr(\"transform\", \"translate(\" + 2 * margin + \",\" + margin + \")\");\n\nd3.json(\"marimekko.json\", function(error, data) {\n  if (error) throw error;\n\n  var offset = 0;\n\n  // Nest values by segment. We assume each segment+market is unique.\n  var segments = d3.nest()\n      .key(function(d) { return d.segment; })\n      .entries(data);\n\n  // Compute the total sum, the per-segment sum, and the per-market offset.\n  // You can use reduce rather than reduceRight to reverse the ordering.\n  // We also record a reference to the parent segment for each market.\n  var sum = segments.reduce(function(v, p) {\n    return (p.offset = v) + (p.sum = p.values.reduceRight(function(v, d) {\n      d.parent = p;\n      return (d.offset = v) + d.value;\n    }, 0));\n  }, 0);\n\n  // Add x-axis ticks.\n  var xtick = svg.selectAll(\".x\")\n      .data(x.ticks(10))\n    .enter().append(\"g\")\n      .attr(\"class\", \"x\")\n      .attr(\"transform\", function(d) { return \"translate(\" + x(d) + \",\" + y(1) + \")\"; });\n\n  xtick.append(\"line\")\n      .attr(\"y2\", 6)\n      .style(\"stroke\", \"#000\");\n\n  xtick.append(\"text\")\n      .attr(\"y\", 8)\n      .attr(\"text-anchor\", \"middle\")\n      .attr(\"dy\", \".71em\")\n      .text(p);\n\n  // Add y-axis ticks.\n  var ytick = svg.selectAll(\".y\")\n      .data(y.ticks(10))\n    .enter().append(\"g\")\n      .attr(\"class\", \"y\")\n      .attr(\"transform\", function(d) { return \"translate(0,\" + y(1 - d) + \")\"; });\n\n  ytick.append(\"line\")\n      .attr(\"x1\", -6)\n      .style(\"stroke\", \"#000\");\n\n  ytick.append(\"text\")\n      .attr(\"x\", -8)\n      .attr(\"text-anchor\", \"end\")\n      .attr(\"dy\", \".35em\")\n      .text(p);\n\n  // Add a group for each segment.\n  var segments = svg.selectAll(\".segment\")\n      .data(segments)\n    .enter().append(\"g\")\n      .attr(\"class\", \"segment\")\n      .attr(\"xlink:title\", function(d) { return d.key; })\n      .attr(\"transform\", function(d) { return \"translate(\" + x(d.offset / sum) + \")\"; });\n\n  // Add a rect for each market.\n  var markets = segments.selectAll(\".market\")\n      .data(function(d) { return d.values; })\n    .enter().append(\"a\")\n      .attr(\"class\", \"market\")\n      .attr(\"xlink:title\", function(d) { return d.market + \" \" + d.parent.key + \": \" + n(d.value); })\n    .append(\"rect\")\n      .attr(\"y\", function(d) { return y(d.offset / d.parent.sum); })\n      .attr(\"height\", function(d) { return y(d.value / d.parent.sum); })\n      .attr(\"width\", function(d) { return x(d.parent.sum / sum); })\n      .style(\"fill\", function(d) { return z(d.market); });\n});\n\n</script>\n","encoding":"utf-8"},"marimekko.json":{"filename":"marimekko.json","type":"application/json","language":"JSON","raw_url":"https://gist.githubusercontent.com/mbostock/1005090/raw/113eb86f8d52c83f8c17abf6dceed982b3208bb7/marimekko.json","size":1139,"truncated":false,"content":"[\n{\"market\": \"Auburn, AL\", \"segment\": \"Almond lovers\", \"value\": 3840},\n{\"market\": \"Auburn, AL\", \"segment\": \"Berry buyers\", \"value\": 1920},\n{\"market\": \"Auburn, AL\", \"segment\": \"Carrots-n-more\", \"value\": 960},\n{\"market\": \"Auburn, AL\", \"segment\": \"Delicious-n-new\", \"value\": 400},\n{\"market\": \"Birmingham, AL\", \"segment\": \"Almond lovers\", \"value\": 1600},\n{\"market\": \"Birmingham, AL\", \"segment\": \"Berry buyers\", \"value\": 1440},\n{\"market\": \"Birmingham, AL\", \"segment\": \"Carrots-n-more\", \"value\": 960},\n{\"market\": \"Birmingham, AL\", \"segment\": \"Delicious-n-new\", \"value\": 400},\n{\"market\": \"Gainesville, FL\", \"segment\": \"Almond lovers\", \"value\": 640},\n{\"market\": \"Gainesville, FL\", \"segment\": \"Berry buyers\", \"value\": 960},\n{\"market\": \"Gainesville, FL\", \"segment\": \"Carrots-n-more\", \"value\": 640},\n{\"market\": \"Gainesville, FL\", \"segment\": \"Delicious-n-new\", \"value\": 400},\n{\"market\": \"Durham, NC\", \"segment\": \"Almond lovers\", \"value\": 320},\n{\"market\": \"Durham, NC\", \"segment\": \"Berry buyers\", \"value\": 480},\n{\"market\": \"Durham, NC\", \"segment\": \"Carrots-n-more\", \"value\": 640},\n{\"market\": \"Durham, NC\", \"segment\": \"Delicious-n-new\", \"value\": 400}\n]\n","encoding":"utf-8"},"readme.md":{"filename":"readme.md","type":"text/markdown","language":"Markdown","raw_url":"https://gist.githubusercontent.com/mbostock/1005090/raw/8ed0da3233fc618a57b76c8a819c317e145f783c/readme.md","size":443,"truncated":false,"content":"A [Marimekko Chart](http://www.perceptualedge.com/example13.php), inspired by [Freakalytics](http://www.freakalytics.com/2011/05/14/marimekko-charts-and-an-interactive-alternative/). Thanks to [Noah Iliinsky](https://twitter.com/#!/noahi/status/76334894648791040) for the suggestion. Jason Davies has published an [even-simpler interactive implementation](http://www.jasondavies.com/mekko/) using the “slice-dice” treemap layout algorithm!","encoding":"utf-8"},"thumbnail.png":{"filename":"thumbnail.png","type":"image/png","language":null,"raw_url":"https://gist.githubusercontent.com/mbostock/1005090/raw/179890bbdf42394b33a0c3704feb1f5e53c06c20/thumbnail.png","size":4018,"truncated":false,"content":"iVBORw0KGgoAAAANSUhEUgAAAOYAAAB4CAYAAADmBo6IAAAAGXRFWHRTb2Z0\nd2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD1RJREFUeNrsnVtsHNd5x/9z\n2Z29kVwuuaR40Y0idSNVWY4LRZIDWw0K5CVogiCJixTNWx/jPuWlQJ/60Pah\naIwCLVCjDWqggV2jjVMnReE0jhMbbRy7bgHFri1ZsmxZvJPLvc/OnDk9Z5ai\npPBimztcbrL/nzAUCUGHZ775/ud85+w33zGklNcADKnLAyFkv4mpa8FQwlxW\n3+RoD0I6hhUKk5BOFabne7kgkKhXa7AsE34QwHGS6orBNAyaiZD9EOYv3nw9\nd2tpGd7cGnz1p1YOIBMpnL90Hrm+JGpKsIbjQNJgkXJnyJNdbgPZxc9L6Q/Z\ndBrpZHKzMNeKi7nZhSUU5wsQUiCXOwDUS1iTNkbHhvDyv/0A9T/9M+TVfxbU\nUyRY6loSAqVAYCLuwJfdJ09TXavKBo5pIGmYHS1QW0WO1xsuekwLg5YVmQ6q\nxSLSj38Dn3/88fuEaeuvfb358AomJO5ErsY9IezxiQlUVAMHVYjrU1ORPegP\nPQ8ryjFnEj4aXShMPTjNq/tPKFv0miaCDu5rXPVR1OvIKVGOxWKRDKRaYdVy\nGbddd7N/3DeCmVuvJ3UXfNWhRoQjRbcj1YP21gc6T9nV60JhBtoG6r5tJUqv\nw4WpJ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KF\ncw+cjKSvPdmsmtFG4avI7aJ6EOm4hfnZxRa38Rz0qxDLjhvIDQ7j8iMXVah8\nU61hai01m8n249j4aBiNfPr8RbWc6cHNGzdbtsFAfhQPnjuBeDqLRyPqq+30\n4ODBY7BjlpqBTuPEsUO4eb31vmazCRw9kIcVd5RvPRqJb42OH8bAQFaFxYPh\nz5cuPoyhocyGbQ21vrum/h5Sl7d5JWQo5xHhekCfYRJOvxEtzH0Vcuj1mv5e\nTdstr4Xkeiijm9Fhhz7PUIdhrfZXr3uaGwkStgppo+irqdYsppoa9FooXMPq\nuEgGkfVVr4H1usiIyAZB2Ia86wfrdm5xkaVsqZxO+VfMtqHfZYqir+H+pH4v\nSrVv6tEfUWwE6vaUzwoRmW+F7zerBgJD7yOJe20bU91d+H8BBgCeO9n87aQq\nHwAAAABJRU5ErkJggg==\n","encoding":"base64"}},"public":true,"created_at":"2011-06-02T19:16:52Z","updated_at":"2019-02-26T22:38:09Z","description":"Marimekko Chart","comments":0,"user":null,"comments_enabled":true,"comments_url":"https://api.github.com/gists/1005090/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/1069888","user":{"login":"fod","id":163355,"node_id":"MDQ6VXNlcjE2MzM1NQ==","avatar_url":"https://avatars.githubusercontent.com/u/163355?v=4","gravatar_id":"","url":"https://api.github.com/users/fod","html_url":"https://github.com/fod","followers_url":"https://api.github.com/users/fod/followers","following_url":"https://api.github.com/users/fod/following{/other_user}","gists_url":"https://api.github.com/users/fod/gists{/gist_id}","starred_url":"https://api.github.com/users/fod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fod/subscriptions","organizations_url":"https://api.github.com/users/fod/orgs","repos_url":"https://api.github.com/users/fod/repos","events_url":"https://api.github.com/users/fod/events{/privacy}","received_events_url":"https://api.github.com/users/fod/received_events","type":"User","user_view_type":"public","site_admin":false,"name":"Fiachra O'Donoghue","company":null,"blog":"","location":"IE","email":null,"hireable":true,"bio":null,"twitter_username":null,"public_repos":17,"public_gists":16,"followers":10,"following":3,"created_at":"2009-12-06T16:27:41Z","updated_at":"2025-06-13T14:23:41Z"},"id":"1069888","created_at":"2011-07-07T16:22:09Z","updated_at":"2015-09-26T08:38:05Z"},{"url":"https://api.github.com/gists/5884317","user":{"login":"jeanfw","id":2714769,"node_id":"MDQ6VXNlcjI3MTQ3Njk=","avatar_url":"https://avatars.githubusercontent.com/u/2714769?v=4","gravatar_id":"","url":"https://api.github.com/users/jeanfw","html_url":"https://github.com/jeanfw","followers_url":"https://api.github.com/users/jeanfw/followers","following_url":"https://api.github.com/users/jeanfw/following{/other_user}","gists_url":"https://api.github.com/users/jeanfw/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanfw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanfw/subscriptions","organizations_url":"https://api.github.com/users/jeanfw/orgs","repos_url":"https://api.github.com/users/jeanfw/repos","events_url":"https://api.github.com/users/jeanfw/events{/privacy}","received_events_url":"https://api.github.com/users/jeanfw/received_events","type":"User","user_view_type":"public","site_admin":false,"name":"Jean Friesewinkel","company":null,"blog":"","location":null,"email":null,"hireable":null,"bio":null,"twitter_username":null,"public_repos":15,"public_gists":1,"followers":19,"following":24,"created_at":"2012-11-03T12:22:24Z","updated_at":"2026-04-30T12:41:27Z"},"id":"5884317","created_at":"2013-06-28T12:27:44Z","updated_at":"2015-12-19T02:38:57Z"},{"url":"https://api.github.com/gists/0cad595c988c040a792e","user":{"login":"andwilson","id":5093707,"node_id":"MDQ6VXNlcjUwOTM3MDc=","avatar_url":"https://avatars.githubusercontent.com/u/5093707?v=4","gravatar_id":"","url":"https://api.github.com/users/andwilson","html_url":"https://github.com/andwilson","followers_url":"https://api.github.com/users/andwilson/followers","following_url":"https://api.github.com/users/andwilson/following{/other_user}","gists_url":"https://api.github.com/users/andwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/andwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andwilson/subscriptions","organizations_url":"https://api.github.com/users/andwilson/orgs","repos_url":"https://api.github.com/users/andwilson/repos","events_url":"https://api.github.com/users/andwilson/events{/privacy}","received_events_url":"https://api.github.com/users/andwilson/received_events","type":"User","user_view_type":"public","site_admin":false,"name":"Andrew Wilson","company":"Seldon","blog":"acclimate.io","location":"London","email":null,"hireable":true,"bio":"Technology | Strategy | People","twitter_username":null,"public_repos":19,"public_gists":1,"followers":2,"following":4,"created_at":"2013-07-26T02:46:13Z","updated_at":"2026-05-07T08:59:46Z"},"id":"0cad595c988c040a792e","created_at":"2015-09-08T17:36:13Z","updated_at":"2015-09-08T17:36:13Z"},{"url":"https://api.github.com/gists/5f6e1bf0fc46a7d6bf49","user":{"login":"shohrukh92","id":10550437,"node_id":"MDQ6VXNlcjEwNTUwNDM3","avatar_url":"https://avatars.githubusercontent.com/u/10550437?v=4","gravatar_id":"","url":"https://api.github.com/users/shohrukh92","html_url":"https://github.com/shohrukh92","followers_url":"https://api.github.com/users/shohrukh92/followers","following_url":"https://api.github.com/users/shohrukh92/following{/other_user}","gists_url":"https://api.github.com/users/shohrukh92/gists{/gist_id}","starred_url":"https://api.github.com/users/shohrukh92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shohrukh92/subscriptions","organizations_url":"https://api.github.com/users/shohrukh92/orgs","repos_url":"https://api.github.com/users/shohrukh92/repos","events_url":"https://api.github.com/users/shohrukh92/events{/privacy}","received_events_url":"https://api.github.com/users/shohrukh92/received_events","type":"User","user_view_type":"public","site_admin":false,"name":"Shohrukh","company":null,"blog":"","location":null,"email":"92.shohrukh@gmail.com","hireable":null,"bio":"Software Engineer","twitter_username":null,"public_repos":53,"public_gists":6,"followers":22,"following":29,"created_at":"2015-01-15T17:29:04Z","updated_at":"2026-03-07T13:53:00Z"},"id":"5f6e1bf0fc46a7d6bf49","created_at":"2015-12-14T13:29:44Z","updated_at":"2015-12-14T13:29:45Z"}],"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":"f0428bcbaee3e386c37f74acac6f6cad9d176aab","committed_at":"2019-02-26T22:38:09Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/1005090/f0428bcbaee3e386c37f74acac6f6cad9d176aab"},{"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":"dc610e8067502a3b6658445e3e9be2e7bfe4525a","committed_at":"2019-01-07T17:01:46Z","change_status":{"total":1,"additions":1,"deletions":0},"url":"https://api.github.com/gists/1005090/dc610e8067502a3b6658445e3e9be2e7bfe4525a"},{"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":"ec3acd386f2c3512b955118cd9b53976fb3b32f9","committed_at":"2016-02-09T00:07:26Z","change_status":{"total":1,"additions":1,"deletions":0},"url":"https://api.github.com/gists/1005090/ec3acd386f2c3512b955118cd9b53976fb3b32f9"},{"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":"008d4bdd3e735409a552ecd158f3fb86101b8af9","committed_at":"2015-10-30T21:27:28Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/1005090/008d4bdd3e735409a552ecd158f3fb86101b8af9"},{"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":"75652d4868a13f1cd2c6a3df2d38d43a0559d703","committed_at":"2015-06-11T19:43:41Z","change_status":{"total":4,"additions":3,"deletions":1},"url":"https://api.github.com/gists/1005090/75652d4868a13f1cd2c6a3df2d38d43a0559d703"},{"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":"48e6b2902d2efbbc8c54b5395ad668857ad71acf","committed_at":"2013-11-22T16:16:02Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/1005090/48e6b2902d2efbbc8c54b5395ad668857ad71acf"},{"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":"3ae499d40dc365b15e51e7cb5a8960a5462f5426","committed_at":"2013-11-22T16:15:40Z","change_status":{"total":2,"additions":1,"deletions":1},"url":"https://api.github.com/gists/1005090/3ae499d40dc365b15e51e7cb5a8960a5462f5426"},{"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":"b4d26e855eb084b7e2cb4f115380127166e2fc2f","committed_at":"2012-12-19T18:55:48Z","change_status":{"total":73,"additions":37,"deletions":36},"url":"https://api.github.com/gists/1005090/b4d26e855eb084b7e2cb4f115380127166e2fc2f"},{"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":"60cde617e4f1db05c9fa30860a1996c87c19d793","committed_at":"2012-10-12T03:42:20Z","change_status":{"total":0,"additions":0,"deletions":0},"url":"https://api.github.com/gists/1005090/60cde617e4f1db05c9fa30860a1996c87c19d793"},{"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":"3ebf7d4e8380e87b16f7d56ff8eeb8ffad454c82","committed_at":"2011-06-02T19:22:05Z","change_status":{"total":4,"additions":2,"deletions":2},"url":"https://api.github.com/gists/1005090/3ebf7d4e8380e87b16f7d56ff8eeb8ffad454c82"},{"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":"54ca871f57766194470befaa777fc120e7874ec2","committed_at":"2011-06-02T19:16:52Z","change_status":{},"url":"https://api.github.com/gists/1005090/54ca871f57766194470befaa777fc120e7874ec2"}],"truncated":false}