<commit_before># Javascript Web Frontend for Nanocubes





## Development
If you are interesting in developing this GUI, please install the dependencies for development by using `npm` .

```
npm install
```

Use `Grunt` to process the Javascript files.

```
./node_modules/.bin/grunt
```<commit_msg>Updated README for web gui<commit_after># Javascript Web Frontend for Nanocubes

## Configuration


The configuration of the web viewer can be modified through a JSON
file. The JSON file is named `config.json` or specified by a parameter
`http://myhost.com/?config=myconfig.json`.

The `ncwebviewer-config` reads from the nanocube server and generates
a JSON con figuration file with all the tweakable parameters for the
widgets.  Here are some handy examples.

* Colormap
* Number format
* Markers on the map
* View parameters
* Limit the bar chart to display top n items
* Sort bar chart items by alphabetical order
* Log scale axes


There is a `css` attribute for each widget, you may change the style
of the widget by modifying or inserting standard css elements.


## Development If you are interesting in developing this GUI, please
install the dependencies for development by using `npm`.

```
npm install
```

Use `Grunt` to process the Javascript files.

```
./node_modules/.bin/grunt
```
{'fraction_non_alphanumeric': 0.07164869029275808, 'fraction_numerical': 0.0, 'mean_word_length': 4.390041493775934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '69632', 'n_tokens_mistral': 380, 'n_tokens_neox': 336, 'n_words': 176}