Cuttlepress

Blogging about Hacker School?

Day 42

I went to Julia’s Unix executables presentation, and then I did a bit more poking at D3. My expenses chart now shows each expense’s category when it is hovered over:

1
2
3
.on("mouseover", function(d) {
  d3.select("#label").text(d.Category).attr("class", d.Category);
})

Fancy.

Then I wanted to get back into the swing of JS/canvas stuff to warm up for this weekend’s Ludum Dare. Fei and I worked on a board for playing Ultimate Tic Tac Toe (implementing the base set of rules, but not yet the “clarifying rules” at that link): Ultimatttt