I have a data which is grouped in the following format:
{{date1,count1},{date2,count2},...}
I want to make a Date Histogram of this data. Apparently the acceptable format for mathematica is {date1, date1,... (repeated count1 times), date2, date2,... (repeated count2 times), ...}
I can convert it into the this format but there counts are in the millions and make the data uselessly huge after i extract it using group by using sql.
Is there a way to plot this histogram?
DateHistograminstead ofHistogram, make sure that your dates are in AbsoluteTime format, i.e. instead of{2017, 4, 19}useAbsoluteTime[{2017, 4, 19}]– Szabolcs Apr 19 '17 at 14:18data1andcount1exactly? – ktm Apr 19 '17 at 14:18{4,4,4,5,5,6,7}you have{dataPoint, count}pairs, i.e.{{4,3}, {5,2}, {6,1}, {7,1}}. – Szabolcs Apr 19 '17 at 14:23AbsoluteTimefunction to get this quickly, as I said in my comment above. – Szabolcs Apr 19 '17 at 14:33