Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (24 sloc) 0.896 kb
<html>
<head>
<script src="../d3.v2.js" type="text/javascript"></script>
<script src="../underscore.js" type="text/javascript"></script>
</head>
<body>
<svg></svg>
<script type="text/javascript">
d3.json("members.json", function(members) {
var keys = ["name", "joined", "photo_url"];
var rows = _(members)
.sortBy(function(row) {
return new Date(row.joined);
})
.map(function(row) {
return keys.map(function(k) { return row[k]; })
});
var csv = d3.csv.format([keys].concat(rows)).replace(/\n/g,"<br/>\n");
var styles = "<style>body { font-family: sans-serif; font-size: 12px; }</style>";
window.open("text/csv").document.write(styles + csv);
})
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.