I spend the last couple of weeks when I had some free time from my studies to build a website I always wanted to have. Its about stream viewer numbers with detailed graphs showing them. The address is sc2streamnumbers.com and here is how it looks:
What you are seeing now is the change in the viewer number over the last hour. The viewer number gets saved every 5 minutes. You can change that to the view of the last 24 hours, the last week or month. As a graph with a point for every 5 minutes in the last month would be quite crowded (8640 points) the site creates average values for the different time resolutions.
You can also go back and forth in time or switch on the auto update to automaticly retrieve updated graphs. Also there is a search function and a list with the current online streams which contains roughly the same streams as the famous tl list available here.
How its done For the fellow programmers browsing this forum here is how its done from the technical point of view. The page queries the xml view of the tl stream list every 5 minutes and saves all the relevant data in a postgresql database. It also creates all the average values if needed. This is done by a python script.
The website itself is made with Django, a beautiful python web framework. Also I used Jquery for the ajax calls and elycharts for the graphs. I feel like this is a very powerful software stack.
If you are interested in the server side code just write me a pm and I can give you access to my repository.
Advertising I am aware that this thread might fall under the advertising rule as I am not a very active tl member and it somewhat promotes a website. But please keep in mind that there are no ads on the site and this serves a very niche interest. I dont even own a company or something similiar and never put advertising on the sites I made.
Looks quite nice. I'd recommend changing 'hour/day/week/month Before' to 'Previous hour/day/week/month'. Having a capital letter for the second word is weird, and it makes more sense to have previous <=> next as opposed to before <=> next in my opinion
On July 24 2012 05:51 dani` wrote: Looks quite nice. I'd recommend changing 'hour/day/week/month Before' to 'Previous hour/day/week/month'. Having a capital letter for the second word is weird, and it makes more sense to have previous <=> next as opposed to before <=> next in my opinion
As if you read my Mind O.O I just looked at the upper right corner of TL.net and thought to myself "I wonder how Stream-Viewer numbers are distributed over time." Would be awesome if you could implement an overall monitor.
Great work! Always jelly about people with these kind of skills.
I like it! Would be neat with an option to trim times when the person is not streaming and have like a marker in the graph when the person started streaming.
On July 24 2012 06:43 nakam wrote: I like it! Would be neat with an option to trim times when the person is not streaming and have like a marker in the graph when the person started streaming.
Changing the time interval by cutting off empty time might be rather complicated but I will look into a feature were you can jump to the times when the stream was active.
I noticed under Weekly/Monthly doesn't have the current day/Up to day stream numbers I understand if this is intentional but it would be nicer to see the whole month with the last data value being the latest queried entry.
My personal suggestions that you could add: multiple graphs overlapping each other so that you could compare two streamers, customization (favorites, etc) share of the total number of sc2 (individuals not tournament organizers) streamers and finally an option to display the history of popular offline streamers.
On July 24 2012 06:55 Snackysnacks wrote: I noticed under Weekly/Monthly doesn't have the current day/Up to day stream numbers I understand if this is intentional but it would be nicer to see the whole month with the last data value being the latest queried entry.
Sounds like a good idea.
On July 24 2012 07:00 archonOOid wrote: My personal suggestions that you could add: multiple graphs overlapping each other so that you could compare two streamers, share of the sc2 individual streamers and display history of popular offline streamers.
Nice idea but quite complicated to do. Will look into that for the 2.0 version of the site
is there anyway that you can provide aggregate numbers by game too? i've been wondering for some time whether the "starcraft stream numbers are down" fact is really true or it's just the fact that a larger amount of total viewers are just distributed over more available streams..
I dont know if its a bug or im doing something wrong but when i check GOMTV numbers ( http://sc2streamnumbers.com/7217/ ), it tells me the stream was offline all the time until today.
When did you start recording the numbers? Because im pretty sure it was online last friday.
Is there something wrong with the monthly graph or am I reading it wrong? The monthly graph's peak values do not align with the daily peak values. For example, if you look at dragon's monthly graph, it shows he had a peak of 4800 viewers for March, however if you look at the daily graph, he has multiple days of over 5-6k viewers.
If the monthly graph is just showing the average viewer per day and not peak per day, then it still doesn't add up. If you look at march 28th for dragon, in the monthly graph it shows a value of 3020. If you look at the daily graph for march 28th, he only had less than 3k viewers during the first hour of an about 6 hour stream, so the average for that day was a lot more than 3020.
On April 03 2013 04:13 Canucklehead wrote: Is there something wrong with the monthly graph or am I reading it wrong? The monthly graph's peak values do not align with the daily peak values. For example, if you look at dragon's monthly graph, it shows he had a peak of 4800 viewers for March, however if you look at the daily graph, he has multiple days of over 5-6k viewers.
If the monthly graph is just showing the average viewer per day and not peak per day, then it still doesn't add up. If you look at march 28th for dragon, in the monthly graph it shows a value of 3020. If you look at the daily graph for march 28th, he only had less than 3k viewers during the first hour of an about 5 hour stream, so the average for that day was a lot more than 3020.
My guess is that it divides the data in batches of x time units and then averages that or whatever, so it loses the "real" peaks.
First of all, great job! I liked the nice graphs and the super smooth transitions.
However, if I may : - Some players appear several times. If you look up "Stephano", there are 3 results - Going back to the home page is very slow - Perhaps it is just a UI thing, but I feel that my mouse "slides", because the box that indicates the number of streamer is really slow. Could you augment its speed?
Request : A yearly, or quarterly (or 6-month-ly) button would be nice =)
Sorry for the long downtime on the site. I had some server issues and no time for fixing it. The site will hopefully be back up in the next days but I can not guarantee that all the old data will be included as the database died and my backups are not the best.
Hi there for everybody still interested in the site I have some bad news. I just got a job offer I can not turn down so there will be probably no time in the near future to set up the site again. Never say never but for now I can not keep monitoring and developing the site properly.