{"url":"https://api.github.com/gists/3517374","forks_url":"https://api.github.com/gists/3517374/forks","commits_url":"https://api.github.com/gists/3517374/commits","id":"3517374","node_id":"MDQ6R2lzdDM1MTczNzQ=","git_pull_url":"https://gist.github.com/3517374.git","git_push_url":"https://gist.github.com/3517374.git","html_url":"https://gist.github.com/mbostock/3517374","files":{"index.js":{"filename":"index.js","type":"text/javascript","language":"JavaScript","raw_url":"https://gist.githubusercontent.com/mbostock/3517374/raw/b27eaae34ef8b11520224349a7a654dfa115b861/index.js","size":319,"truncated":false,"content":"// Create a scale, but don't set the domain until the data is known.\nvar x = d3.scale.linear()\n    .range([0, width]);\n\n// Load the data.\nd3.json(\"data.json\", function(data) {\n\n  // Now we can compute the domain and update the scale.\n  x.domain([0, d3.max(data)]);\n\n  // And here's where we'd visualize the data…\n});\n","encoding":"utf-8"}},"public":true,"created_at":"2012-08-29T19:11:44Z","updated_at":"2015-10-09T13:48:02Z","description":"Lazy Scale Domain","comments":0,"user":null,"comments_enabled":true,"comments_url":"https://api.github.com/gists/3517374/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":[],"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":"2bd62b79c6c695f1e328446b76e5c72b8dc15ed6","committed_at":"2012-08-29T19:11:44Z","change_status":{"total":12,"additions":12,"deletions":0},"url":"https://api.github.com/gists/3517374/2bd62b79c6c695f1e328446b76e5c72b8dc15ed6"}],"truncated":false}