2.1.0 • Published 10 months ago
mascot-vis v2.1.0
Mascot: Manipulable Semantic Components in Data Visualization
Setup Instructions
- Install NPM (https://www.npmjs.com/get-npm)
- Install all local packages - From the terminal run
npm install
. You need to run this command whenever there are changes to package dependencies.
Build and Run Project
- To build project one time with
npm run build
OR build automatically on save with file watchingnpm run watch
- Start a server with
npm run start
(you need to have Python 3 installed), and loadlocalhost:8020
in browser; you can also start the server using Python 2 with commands likepython -m SimpleHTTPServer <port>
Add a Demo to the Gallery
- Add a new .js file with a descriptive name containing the demo code to the
demos
folder. If you require sample code, refer to the other demos available in that folder. - Any dataset used in your demo should be placed in the corresponding folder in
datasets
. - Add a new entry to
_index.json
in thedemos
folder, your key must have the initial letter capitalized and match the name of your .js file.