# Create live poll using firebase (with bar charts)

**URL:** https://community.thunkable.com/t/create-live-poll-using-firebase-with-bar-charts/25334
**Category:** Promote your App
**Tags:** firebase
**Created:** [May 5, 2018, 5:31pm UTC](https://community.thunkable.com/t/create-live-poll-using-firebase-with-bar-charts/25334 "2018-05-05T17:31:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Sree\_Hari\_Reddy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sree_hari_reddy/32/20411_2.png) [@Sree\_Hari\_Reddy](https://community.thunkable.com/u/Sree_Hari_Reddy)
#### Post date: [May 5, 2018, 5:31pm UTC](https://community.thunkable.com/t/create-live-poll-using-firebase-with-bar-charts/25334/1 "2018-05-05T17:31:26Z")

</div>

I don’t know if it was done before, but I want to share this with you guys here. I am a newbie here and if there is anything wrong, please correct me!

Basically, this a quiz app that asks one questions every day. Everyone submits answers and each can see the polling options in live.

What I did is setting buttons as options and then assign a variable to button click counts. The clicks are dynamically updated to firebase and we get the updated value back to our app.

To display the progress bar, I used a button (height set to 2%) and set it width percentage as the percentage of individual clicks out of total clicks.

Hope this helps some one!

[Here is the link](https://play.google.com/store/apps/details?id=com.sreehari_kmc.Medical_Digest) to the app in Play Store!

If someone finds this interesting, I can post the image of the blocks.

 ![Screenshot_20180504-130159](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/a/ca361261e980649dd52fcd9b21000af0ce1f6488.jpg)

---

<div class="post-metadata">

### Author: ![WallaceGromit](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wallacegromit/32/16559_2.png) [@WallaceGromit](https://community.thunkable.com/u/WallaceGromit)
#### Post date: [May 6, 2018, 9:58am UTC](https://community.thunkable.com/t/create-live-poll-using-firebase-with-bar-charts/25334/2 "2018-05-06T09:58:12Z")

</div>

Of course it would be nice to see the blocks. My next intent is to step into firebase and any working example is welcome. By the way, the illness it’s due to smoking, no doubt about that.

---

<div class="post-metadata">

### Author: ![arjunc369](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@arjunc369](https://community.thunkable.com/u/arjunc369)
#### Post date: [June 18, 2018, 1:46pm UTC](https://community.thunkable.com/t/create-live-poll-using-firebase-with-bar-charts/25334/3 "2018-06-18T13:46:45Z")

</div>

Plz post the blocks  
@Sree_Hari_Reddy

---

<div class="post-metadata">

### Author: ![elliks](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/elliks/32/6742_2.png) [@elliks](https://community.thunkable.com/u/elliks)
#### Post date: [July 9, 2018, 11:03am UTC](https://community.thunkable.com/t/create-live-poll-using-firebase-with-bar-charts/25334/4 "2018-07-09T11:03:57Z")

</div>

hey there, can you please show us the blocks and screen shots, i would like to see how it was done? your link to the play store also does not work.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/create-live-poll-using-firebase-with-bar-charts/25334/5 "2024-11-08T12:02:09Z")

</div>


