Mango-information-systems / twitto_be

twitto_be is a real-time tweets analytics dashboard
https://twitto.be
Other
12 stars 2 forks source link

show live statistics about the tweets #85

Closed mef closed 8 years ago

mef commented 8 years ago

Display a set of metrics / charts related to the tweets:

mef commented 8 years ago

@11digitlabs As we discussed yesterday:

The big advantage of d3 is the ease and flexibility it offers in the management of data, by allowing consistent transitions. Cf. general update pattern:

PanosSynetos commented 8 years ago

Hey @mef . I've done an initial commit, that updates the total and original tweets. My code will be optimised, I just wanted to do something fast.

Except for the duplicates in my code and possible functions that I could create, is there anything you would like to mention?

PS could you add a label "working on it" so that I know what are the tasks I'm currently working on and have started

mef commented 8 years ago

Except for the duplicates in my code and possible functions that I could create, is there anything you would like to mention?

looks ok.

mef commented 8 years ago

I have just noticed that the "Original" tweets counter is set to NaN whenever the page is loaded and the db is empty. Does not get corrected then, until page reload.

PanosSynetos commented 8 years ago

Nan is fixed, all progress bars are updated. Hooray!

mef commented 8 years ago

@11digitlabs Here is a suggestion for the top hashtags and mentions: http://bl.ocks.org/charlesdguthrie/11356441

PanosSynetos commented 8 years ago

Can I haz a suggestion for the graph too? ​

mef commented 8 years ago

I'm working on this one in #87, if that's ok for you

PanosSynetos commented 8 years ago

Sure, go ahead!

PanosSynetos commented 8 years ago

@mef here is my idea on the hashtags / mentions

I will create an object

Everytime I encounter a hashtag or a mention, I just increase the counter, except the first time that the user visits the site, where I have to go through all of the tweets in the cache , go into the entities/hashtags and entities/user_mentions and calculate these

Any feedback is appreciated

mef commented 8 years ago

@11digitlabs retweets never show up from twitter streaming API, I'm guessing it is because geolocated tweets are only original ones. Retweets are not geolocated, and do not convey the original tweet's geo-location.

I propose that we drop the retweetsCount measure for the moment.

We could add it later (2.x) by implementing one or both of these techniques:

mef commented 8 years ago

Everytime I encounter a hashtag or a mention, I just increase the counter, except the first time that the user visits the site, where I have to go through all of the tweets in the cache , go into the entities/hashtags and entities/user_mentions and calculate these

Any feedback is appreciated

yep, good approach

PanosSynetos commented 8 years ago

Alright, dropping the retweets, starting with hashtags/mentions

mef commented 8 years ago

Hey, suggestion for the mentions chart: the coolestest thing would be a treemap composed of people's profile pics, size according to the mentions count. Challenge will be in keeping pics aspect ratio (would need to use clipping in addition to resizing).

I let you see, perhaps this should be put as a suggestion issue, to be done in 2.x, but not yet...

PanosSynetos commented 8 years ago

We could do both! I like it

mef commented 8 years ago

FYI I'm starting to replace the tweets counter progress bar by a donut chart.

mef commented 8 years ago

Released as is, remaining features to be developed in #100