From: Richard
Thanks! Yeah, it's not exactly useful for anything besides viewing the trends over time, or specific commits on a date, even then it can't always pinpoint due to the volume of data. I'll be advancing it so it's much more practical, I'll have a look at those resources you posted.
I'll keep at it, produce something which is a big more practical (should still be able to maintain the speed), I've got an idea for the zoom functionality, we'll see where it goes. If there's anything else you'd like doing then let me know, happily to have a go
lets make that commits page yours for the most part, I added it to the special thanks lol
I got really sick for 2 months trying to do a lot of work and get my moneys back (yes irl), spent it all. A lot on stats that just stayed in beta… users page is a great example of that with the random list of users that you can't click, lol.
[php]
echo "['x', $v2],";
echo "['Commits', $v1]";
[/php]
as seen in the page source
that's what it looks like right now as far as the dates and values.. it pulls from my cache table for all of the "commits"
that table is how you see it in client side which the x is
'yyyy-mm-dd hh:mm:ss',' etc
and the commits are just 'number'
so yours needs to have a json node per graph node instead it looks like, is this permanent? I can change how the cache database stores info.. I'll change it to be the permanent solution for the commits though rather than change it later again..
When I change that I'll be able to make the commits page with whatever you give me.. it'll be on the same page though not loaded from a .js file, so the disks don't have to be written to extra times.
From: Richard
Just to second this opinion, I think it would be much more effective to list the number of commits per day, rather than per hour. Then you could possibly have another query and graph combo for viewing commits per hour averaged out over a period of 30 days? Would allow you to see trends over the day.
From the technical point of view, I really don't know very much D3, but I fancy having a little go anyway, it'll be an extremely basic example, but we'll see! Do you require all of the graphing to be client-side? I'm sure there are some PHP libraries available for this task, but would limit the interactiveness of it all
I don't want any server-side graphing at all, the less the better. That's all extremely easy and it's also easy to output it as an image etc.. it's the day and age of making clients do their own work!
http://stats.grats.pw/test/graph.htmldidn't really look at it, data
is undefined, that's just a copy paste into that /test/ from your .zip you gave
From: honeyhoney
Top chart is commits grouped by day.
Bottom chart is commits as they come in (I just have 3 commit numbers per day).

As you can see the top chart is a lot less cluttered. There's no real data behind it so the story isn't particularly interesting but an option you have here is you could have multiple linked charts and provide drill-down/interrogation capability like so:
(shows 3 data points that make up the Wed 06 data point)

I'd be interested to see what data you have available if you still want some help on this - but if not I hope I've given you a few ideas on how to approach this.
Edit: just grabbed the data from your stats page:
I like all of these, for the most part it's easier to make a complex graph that can dynamically change than it is to put multiple graphs on a single page.. so idk how to evolve that.
I really wouldn't say the mouse over I have is that important for the commits page really, either.