create account

I had fun querying Steemit database - Ever wondered how they generate Steemit stats/charts by mokluc

View this thread on: hive.blogpeakd.comecency.com
· @mokluc ·
$8.06
I had fun querying Steemit database - Ever wondered how they generate Steemit stats/charts
<center> ![](https://media.giphy.com/media/6dRsQSNHU3Cla/giphy.gif)</center>

I have always been curious how to generate Steemit stats and as seen on some post like:

* [Steemit's Community Engagement is up over 1,000%](https://steemit.com/steemit/@furion/steemit-s-community-engagement-is-up-over-1-000) by @furion 
* [Steemit Statistics - 2017.06.14](https://steemit.com/statistics/@arcange/3v6u18-steemit-statistics-2017-06-13) by @arcange

From my previous [post](https://steemit.com/steemit/@mokluc/i-had-fun-querying-steemit-database-is-this-steemit-first-ever-post) I have stated:
> The past few days I have been exploring Steemit libraries and database. It all started when I wanted to know the top 10 people who votes for my posts in a week/month then populate it on a bar graph/chart.

<center> ![](https://bigclosetr.us/topshelf/system/files/u1973/gallery3/Ancient-Laur-Dividers-1a.png) </center>
### <center><p>How I generated the charts and stats</p></center>
### 1) I downloaded the example of graphs here: [https://github.com/SteemData/steemdata-charts](https://github.com/SteemData/steemdata-charts)
<center> ![](https://picload.org/image/rpidgcpi/github.jpg)</center>
### 2) Created an account on [https://plot.ly/](https://plot.ly/)
<center> ![](https://picload.org/image/rpidgwwl/plot.jpg)</center>
### Then I unzipped the files and upload them on **Plotly** and done...simple as 1,2...
<center> ![](https://bigclosetr.us/topshelf/system/files/u1973/gallery3/Ancient-Laur-Dividers-1a.png) </center>
### By opening the files:
### <center><p>"ChartsLR.ipynb" generates a graph of  "Daily Active Users"</p></center>
<center> ![](https://picload.org/image/rpidrgda/july10.jpg)</center>
### <center><p>"Charts.ipynb" generates a graph of  "Daily posts count"</p></center>
<center> ![](https://picload.org/image/rpidropl/posts.jpg)</center>
<center> ![](https://bigclosetr.us/topshelf/system/files/u1973/gallery3/Ancient-Laur-Dividers-1a.png) </center>
### <center><p>While still on Plotly you can see the code to generate the given examples. Below is an example of **Daily posts count** well not complete here</p></center>
<center> ![](https://picload.org/image/rpidrldr/code.jpg)</center>
### <center><p>In order to edit or create your own graphs or charts:</p></center>
Try Jupyter notebook: [https://try.jupyter.org/](https://try.jupyter.org/) then New, Python3.....and have fun!!!
<center> ![](https://picload.org/image/rpidrcdw/python3.jpg)</center>
### If there are other methods, kindly share...
- - -
### Also check out:  [I had fun querying Steemit database - Is this Steemit first ever post?](https://steemit.com/steemit/@mokluc/i-had-fun-querying-steemit-database-is-this-steemit-first-ever-post)

Image credit: [1](https://giphy.gif)
<center> ![](https://bigclosetr.us/topshelf/system/files/u1973/gallery3/Ancient-Laur-Dividers-1a.png) </center>
<center> ![](https://media.giphy.com/media/F0M5HYrDY5Fkc/giphy.gif) </center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authormokluc
permlinki-had-fun-querying-steemit-database-ever-wondered-how-they-generate-steemit-stats-charts
categorytil
json_metadata{"tags":["til","steemit","steemdata","steemstats","steem"],"users":["furion","arcange"],"image":["https://media.giphy.com/media/6dRsQSNHU3Cla/giphy.gif","https://bigclosetr.us/topshelf/system/files/u1973/gallery3/Ancient-Laur-Dividers-1a.png","https://picload.org/image/rpidgcpi/github.jpg","https://picload.org/image/rpidgwwl/plot.jpg","https://picload.org/image/rpidrgda/july10.jpg","https://picload.org/image/rpidropl/posts.jpg","https://picload.org/image/rpidrldr/code.jpg","https://picload.org/image/rpidrcdw/python3.jpg","https://media.giphy.com/media/F0M5HYrDY5Fkc/giphy.gif"],"links":["https://steemit.com/steemit/@furion/steemit-s-community-engagement-is-up-over-1-000","https://steemit.com/statistics/@arcange/3v6u18-steemit-statistics-2017-06-13","https://steemit.com/steemit/@mokluc/i-had-fun-querying-steemit-database-is-this-steemit-first-ever-post","https://github.com/SteemData/steemdata-charts","https://plot.ly/","https://try.jupyter.org/","https://giphy.gif"],"app":"steemit/0.1","format":"markdown"}
created2017-07-13 17:24:00
last_update2017-07-13 17:24:00
depth0
children4
last_payout2017-07-20 17:24:00
cashout_time1969-12-31 23:59:59
total_payout_value6.788 HBD
curator_payout_value1.274 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,949
author_reputation42,525,517,127,291
root_title"I had fun querying Steemit database - Ever wondered how they generate Steemit stats/charts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id8,362,728
net_rshares1,964,325,218,731
author_curate_reward""
vote details (48)
@stefen ·
Nice demographics :-)
properties (22)
authorstefen
permlinkre-mokluc-i-had-fun-querying-steemit-database-ever-wondered-how-they-generate-steemit-stats-charts-20170712t184106235z
categorytil
json_metadata{"tags":["til"],"app":"steemit/0.1"}
created2017-07-13 17:26:09
last_update2017-07-13 17:26:09
depth1
children1
last_payout2017-07-20 17:26:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length21
author_reputation6,803,833,244,756
root_title"I had fun querying Steemit database - Ever wondered how they generate Steemit stats/charts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id8,362,947
net_rshares0
@mokluc ·
Thanks @stefen
properties (22)
authormokluc
permlinkre-stefen-re-mokluc-i-had-fun-querying-steemit-database-ever-wondered-how-they-generate-steemit-stats-charts-20170714t153740290z
categorytil
json_metadata{"tags":["til"],"users":["stefen"],"app":"steemit/0.1"}
created2017-07-14 15:37:39
last_update2017-07-14 15:37:39
depth2
children0
last_payout2017-07-21 15:37:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation42,525,517,127,291
root_title"I had fun querying Steemit database - Ever wondered how they generate Steemit stats/charts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id8,469,293
net_rshares0
@thedonfreeman ·
Good to know. Thank you. Upvoted!
👍  
properties (23)
authorthedonfreeman
permlinkre-mokluc-i-had-fun-querying-steemit-database-ever-wondered-how-they-generate-steemit-stats-charts-20170713t172609239z
categorytil
json_metadata{"tags":["til"],"app":"steemit/0.1"}
created2017-07-13 17:26:12
last_update2017-07-13 17:26:12
depth1
children1
last_payout2017-07-20 17:26:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length33
author_reputation7,788,598,670,958
root_title"I had fun querying Steemit database - Ever wondered how they generate Steemit stats/charts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id8,362,951
net_rshares202,637,474
author_curate_reward""
vote details (1)
@mokluc ·
@thedonfreeman thanks for reading.
properties (22)
authormokluc
permlinkre-thedonfreeman-re-mokluc-i-had-fun-querying-steemit-database-ever-wondered-how-they-generate-steemit-stats-charts-20170714t153719014z
categorytil
json_metadata{"tags":["til"],"users":["thedonfreeman"],"app":"steemit/0.1"}
created2017-07-14 15:37:18
last_update2017-07-14 15:37:18
depth2
children0
last_payout2017-07-21 15:37:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length34
author_reputation42,525,517,127,291
root_title"I had fun querying Steemit database - Ever wondered how they generate Steemit stats/charts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id8,469,257
net_rshares0