This is a fully functioning stacked bar chart.
(Or 7 of them combined into a single chart, to be precise).
Fun part: transforming {x:n, y:n} coordinate objects of the digit matrixes into segment-length series for d3.stack(). Also coloring the digit segments separately although they all are in the same stacks with background segments. And custom gradual transition of all stacks to change color.