Generate TikZ code to chart date-based data.