SandDance development
December 18, 2024 ยท View on GitHub
The SandDance repo is a monorepo made up of several packages, managed by npm workspaces. SandDance is a component stack with the layer hierarchy below:
- Deck.gl - WebGL rendering and canvas control.
- Vega - chart layout.
- sanddance-specs - Vega specifications for unit visualizations.
- sanddance - unit visualization chart views and selecting / filtering interaction.
- sanddance-test-umd - test of sanddance in UMD deployment.
- sanddance-test-es6 - test of sanddance in es6 deployment.
- sanddance-react - (optional) React wrapper for sanddance.
- sanddance-explorer - React-based data exploration component.
- sanddance-app - React-based sample application used on website.
System requirements
- Node.js 16 or higher
- NPM 8 or higher
Install
- Clone this repo
npm install- Install Jekyll to run the website locally.
Build
npm run build
Run
Depending on which component you'd like to see, you can run in various ways.
Run website
npm run deploycd docsjekyll serve- Visit http://127.0.0.1:4000/SandDance/
- For tests, visit http://127.0.0.1:4000/SandDance/tests
Run sanddance-app with watchers
npm start- Visit http://127.0.0.1:8085/