parasol-es
v1.0.2
Published
ES6 module for interactive visualization of multi-objective optimization problems, based on d3-v5 and parcoords-es modules
Downloads
58
Maintainers
Readme
Parasol
Parasol is a JavaScript library for visualization of multi-objective optimization problems. It features interacitve linked plots, a data grid, and an array of clutter reduction techniques allowing for efficient visualization of trade-off in high-dimensional data. Parasol aides decision making by converting the paradox of choice into tangible solutions.
This library is based on D3 V5 API and extends upon parcoords-es.
Resources
References
Raseman, W.J., Jacobson, J., Kasprzyk, J.R., 2019. Parasol: an open source, interactive parallel coordinates library for multi-objective decision making. Environmental Modelling & Software 116, 153–163. https://doi.org/10.1016/j.envsoft.2019.03.005
Usage
Node/ES6
- Install Parasol in your project:
npm install parasol-es --save
- Import the module:
import 'parasol-es/parcoords.css';
import Parasol from 'parasol-es';
const ps = Parasol()....
Standalone
parasol.standalone.js contains all dependencies and can be used directly in your html page as seen below. To use standard Parasol formatting and aesthetics, include the Parasol Cascading Style Sheet, parasol.css as well.
<link rel="stylesheet" type="text/css" href="./parasol.css">
<script src="./parasol.standalone.js"></script>
var parcoords = Parasol()("#example")
Development
Follow these instructions to setup a development environment for Parasol and play with demo examples:
Prerequisites
Node package manager (npm)
Installing
npm install
Building
npm run build
Development
Internal server will be launched, hosting all demos at localhost:3004
npm run dev
Testing and Coverage
Run all unit tests and generate test coverage report.
npm run test:cover
Built With
- D3 V5 - D3 modules are used
- parcoords-es - Parallel Coordinates charts
- SlickGrid - Customizable and interactive spreadsheet
- Rollup - Module bundler
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
The Parasol logo was designed by Bryce Hanson.
Acknowledgments
This project is supported by the Kasprzyk Research Group at the University of Colorado Boulder.
Many thanks to Xing Yun for porting the Parallel Coordinates project to D3 V5.
See also the list of contributors who created Parallel Coordinates.