Last active
February 5, 2019 20:04
-
-
Save colindean/6e51363d3ee12e6e607ae56d28b4dc27 to your computer and use it in GitHub Desktop.
Abstractions 2016 CFP submission graph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
q = [['2016-02-09', 0], ['2016-02-10', 23], ['2016-02-11', 3], ['2016-02-12', 11], ['2016-02-13', 3], ['2016-02-14', 7], ['2016-02-15', 6], ['2016-02-16', 7], ['2016-02-17', 0], ['2016-02-18', 7], ['2016-02-19', 1], ['2016-02-20', 2], ['2016-02-21', 0], ['2016-02-22', 8], ['2016-02-23', 11], ['2016-02-24', 4], ['2016-02-25', 3], ['2016-02-26', 4], ['2016-02-27', 0], ['2016-02-28', 4], ['2016-02-29', 9], ['2016-03-01', 3], ['2016-03-02', 4], ['2016-03-03', 5], ['2016-03-04', 6], ['2016-03-05', 6], ['2016-03-06', 2], ['2016-03-07', 16], ['2016-03-08', 7], ['2016-03-09', 5], ['2016-03-10', 3], ['2016-03-11', 6], ['2016-03-12', 0], ['2016-03-13', 1], ['2016-03-14', 2], ['2016-03-15', 0], ['2016-03-16', 4], ['2016-03-17', 6], ['2016-03-18', 5], ['2016-03-19', 7], ['2016-03-20', 6], ['2016-03-21', 0], ['2016-03-22', 7], ['2016-03-23', 8], ['2016-03-24', 6], ['2016-03-25', 8], ['2016-03-26', 7], ['2016-03-27', 6], ['2016-03-28', 18], ['2016-03-29', 12], ['2016-03-30', 24], ['2016-03-31', 50], ['2016-04-01', 75]] | |
File.open('submissions2016.dat', 'w') do |f| | |
q.each do |e| | |
f.write "#{e[0]} #{e[1]}\n" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-02-09 0 | |
2016-02-10 23 | |
2016-02-11 3 | |
2016-02-12 11 | |
2016-02-13 3 | |
2016-02-14 7 | |
2016-02-15 6 | |
2016-02-16 7 | |
2016-02-17 0 | |
2016-02-18 7 | |
2016-02-19 1 | |
2016-02-20 2 | |
2016-02-21 0 | |
2016-02-22 8 | |
2016-02-23 11 | |
2016-02-24 4 | |
2016-02-25 3 | |
2016-02-26 4 | |
2016-02-27 0 | |
2016-02-28 4 | |
2016-02-29 9 | |
2016-03-01 3 | |
2016-03-02 4 | |
2016-03-03 5 | |
2016-03-04 6 | |
2016-03-05 6 | |
2016-03-06 2 | |
2016-03-07 16 | |
2016-03-08 7 | |
2016-03-09 5 | |
2016-03-10 3 | |
2016-03-11 6 | |
2016-03-12 0 | |
2016-03-13 1 | |
2016-03-14 2 | |
2016-03-15 0 | |
2016-03-16 4 | |
2016-03-17 6 | |
2016-03-18 5 | |
2016-03-19 7 | |
2016-03-20 6 | |
2016-03-21 0 | |
2016-03-22 7 | |
2016-03-23 8 | |
2016-03-24 6 | |
2016-03-25 8 | |
2016-03-26 7 | |
2016-03-27 6 | |
2016-03-28 18 | |
2016-03-29 12 | |
2016-03-30 24 | |
2016-03-31 50 | |
2016-04-01 75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## This is sufficiently generic as to be adaptable to any time series data | |
## with a number associated with the date. Originally adapted from a time | |
## tracking system that I wrote. | |
## | |
set term pngcairo font "Arial" size 1280,720 | |
set xlabel "Date" | |
set ylabel "Submission" | |
set grid ytics | |
set title "Abstractions 2016 daily CFP submissions" | |
set output "submissions2016.png" | |
set boxwidth 0.3 relative | |
set style fill solid | |
set xdata time | |
set timefmt "%Y-%m-%d" | |
set format x "%Y-%m-%d" | |
# set xrange ["2017-12-31":"2018-11-30"] | |
set yrange [0:80] | |
# set arrow from graph 0,first 40 to graph 1,first 40 nohead lc rgb "#000000" front | |
plot "submissions2016.dat" using 1:2 title "Submissions per day" with boxes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment