Closed mef closed 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
Except for the duplicates in my code and possible functions that I could create, is there anything you would like to mention?
looks ok.
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.
Nan is fixed, all progress bars are updated. Hooray!
@11digitlabs Here is a suggestion for the top hashtags and mentions: http://bl.ocks.org/charlesdguthrie/11356441
Can I haz a suggestion for the graph too?
I'm working on this one in #87, if that's ok for you
Sure, go ahead!
@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
@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:
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
Alright, dropping the retweets, starting with hashtags/mentions
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...
We could do both! I like it
FYI I'm starting to replace the tweets counter progress bar by a donut chart.
Released as is, remaining features to be developed in #100
Display a set of metrics / charts related to the tweets: