# Visualize percentage go green energies

**URL:** <https://discuss.elastic.co/t/visualize-percentage-go-green-energies/120020>\
**Category:** Kibana\
**Created:** [February 15, 2018, 3:54pm UTC](https://discuss.elastic.co/t/visualize-percentage-go-green-energies/120020 "2018-02-15T15:54:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomak](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@tomak](https://discuss.elastic.co/u/tomak)\
**Post date:** [February 15, 2018, 3:54pm UTC](https://discuss.elastic.co/t/visualize-percentage-go-green-energies/120020/1 "2018-02-15T15:54:12Z")

</div>

I have a database with different electricity offers made at different times and each one has a percentage of green energy associated to it.

I would like to draw a line chart which gives the number of 100% green offers made on a monthly basis. How cab this be achieved?

---

<div class="post-metadata">

**Author:** ![Bill\_McConaghy](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bill\_McConaghy](https://discuss.elastic.co/u/Bill_McConaghy)\
**Post date:** [February 15, 2018, 4:56pm UTC](https://discuss.elastic.co/t/visualize-percentage-go-green-energies/120020/2 "2018-02-15T16:56:46Z")

</div>

You would create a line chart filtering the data on green energy percent is 100, your Y axis is a count aggregation, and your x axis is a date histogram bucketed by month.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 15, 2018, 4:57pm UTC](https://discuss.elastic.co/t/visualize-percentage-go-green-energies/120020/3 "2018-03-15T16:57:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
