Published
Edited
Feb 22, 2021
1 star
Insert cell
Insert cell
Insert cell
Insert cell
txt = FileAttachment("d3-ease.001.🔪sv").text()
Insert cell
lines = txt.split("☕")
Insert cell
commits = lines.slice(1).map(line => {
let l = line.split("🔪");
return {
hash: l[0],
date: l[1],
author: l[2],
subject: l[3],
body: l[4]
};
})
Insert cell
timeParser = d3.timeParse("%Y-%m-%d %H:%M:%S %Z")
Insert cell
d3.min(commits, d => timeParser(d.date))
Insert cell
d3 = require("d3@6")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more