Commit 1d57e24c authored by Alberto Pascual's avatar Alberto Pascual
parents 02c68358 4f899473
`<chernoff-faces>` is a web component designed to study sentiments present in Tweets and visualize sentiment in chernoff faces.
This web component obtains data from an elasticSearch index.
### Usage
This web component accepts the following parameters:
```html
<chernoff-faces
query="{{query}}"
index="<!-- your elasticsearch index -->"
subindex="<!-- your elasticsearch doc-type -->"
field=""
fields='["user", "sentiment", "name", "text"]'
filters="{{filters}}"
param="{{param}}"
host='{{endpoint}}'>
</chernoff-faces>
```
### Installation
This web component is available in bower.
```bash
$ bower install chernoff-faces
```
This command will install it inside `bower_components` folder
Remember to edit your `elements.html` with this component.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment