Generate TikZ code to plot date-based data.