A starter template to prototype visualizations 🚀.
To use this repository just use degit:
npx degit grtlr/vis-starter <name>
By default, this template ships with d3
. If you prefer to use vega-lite
, simply check out the following branch:
npx degit grtlr/vis-starter#vega-lite <name>
The project can be build using:
yarn install
yarn run build
Afterwards you can start up a local webserver with this build by typing:
yarn run start
You can also start a live development server with 🔥-reloading:
yarn run dev
In addition, there is an extensive style guide at .eslintrc.json
. To apply automated fixes simply run:
yarn run lint-fix
This template also provides continuous integration using Travis CI and GitHub Actions.