# \[ANN\] Date histogram facet grapher plugin

**URL:** <https://discuss.elastic.co/t/ann-date-histogram-facet-grapher-plugin/9483>\
**Category:** Elasticsearch\
**Created:** [October 27, 2012, 12:22pm UTC](https://discuss.elastic.co/t/ann-date-histogram-facet-grapher-plugin/9483 "2012-10-27T12:22:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 27, 2012, 12:22pm UTC](https://discuss.elastic.co/t/ann-date-histogram-facet-grapher-plugin/9483/1 "2012-10-27T12:22:31Z")

</div>

Hi all,

I've hacked together a small site plugin, which allows you to draw  
date histogram facets easily. It uses nvd3.js, a small library on top  
of d3.js for graphing the charts. You can get the plugin (including  
installation instructions) at

> **[spinscale/elasticsearch-facetgrapher](https://github.com/spinscale/elasticsearch-facetgrapher)**
>
> elasticsearch-facetgrapher - Small hack to draw date histogram facets as graph using nvd3.js

After you've installed it and open  
[http://localhost:9200/\_plugin/facetgrapher/index.html](http://localhost:9200/_plugin/facetgrapher/index.html)  
a request to the cluster state API will be issued and every index and  
types which do have date fields will be available for selection to  
graph.

Apart from that, there is not much magic involved, so feel free to try  
it out and change it as you like.

Regards, Alexander

P.S. Is anyone is up to backbone or ember.js and willing to help me to  
build this as a real MVC app, I would be up for hackathon anytime.  
I've currently build a working hack, but not a real application. But  
I'd love to rebuild it, should only be a few lines refactoring for  
someone fluent in javascript mvc frameworks.

--

---

<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:** [July 6, 2017, 3:07am UTC](https://discuss.elastic.co/t/ann-date-histogram-facet-grapher-plugin/9483/2 "2017-07-06T03:07:00Z")

</div>


