apply collection aggregate on figure viewer

FIxed #222

## Load time on figure viewer is improved

### Old Specification
- 180 sec for 100 points

### New Specification
- 1.6 sec for 100 points