Coming soon - Get a detailed view of why an account is flagged as spam!
view details
0
Best way to plot Facebook likes from multiple pages over time
Post Body

Hi, I'm currently using Plot.ly to create a line graph comparing ten presidential candidates' ten most recent likes on their Facebook posts. I'm having some trouble figuring out the best way to plot this. It would be easy to do if all the candidates posted at the same time, but obviously they're going to post minutes, hours, or even days apart. Here are two graphs I've made:

  1. This one looks good, but it's inaccurate. For example, some of those posts are from 12/13 but are listed as 12/15.

  2. This one looks bad, but is accurate. The problem with it is that while it lists each individual candidate's likes as expected, it lists each one individually (thus why they look separated).

Here's my code-- I know it could be more efficient and cleaner, but I hacked it together real quickly. Any ideas how I can condense all of the candidates on one chart?

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
80,902
Link Karma
51,325
Comment Karma
29,429
Profile updated: 1 day ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago