Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (25 sloc) 0.747 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<link type="text/css" rel="stylesheet" href="style.css">
<link type="text/css" rel="stylesheet" href="prettify.css">
<script type="text/javascript" src="prettify.js"></script>
<link type="text/css" rel="stylesheet" href="style.css">
<title></title>
</head>
<body onload="prettyPrint()">
<div id="body">
<div id="header">
<h1>now serve your JSON</h1>
<pre>python -m SimpleHTTPServer 8000</pre>
<h1>...so that d3 can make an http get request</h1>
<pre class="prettyprint">
d3.json(
"http://localhost:8000/data.json",
callback_function
)
</pre>
</div>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.