A template for an interactive web application with D3.
Install node.
npm install
npm run dev
This launches the app in developer mode. To run the app in production mode, run npm run build
or see below.
We recomme dusing VSCode for development. You can run npm run lint
to check for linting errors.
Note that these tests automatically run when you comit your code to GitHub. See test.yml
for details.
You can fix a lot of issues autoamtically with npm run format
.
When you push to GitHub, the app automatically deploys to GitHub Pages. As an example, this template repository is deployed at jiangshuhe.github.io/Project_3. See deploy.yml
for details. Make sure to update the base
property in vite.config.ts
to match your repo name.
- Uses Vite
- Bootstrapped with
npx create vite app --template vanilla-ts
- Uses D3
- Built with TypeScript
- Supports DuckDB-wasm