Small D3 v7 playground built with Vite, TypeScript, and Vitest.
Node: 22.12+ (Vite 7 / ESLint 9; see engines in package.json). If you use mise, run mise install to use .mise.toml.
One-time setup in the repo on GitHub: Settings → Pages → Build and deployment → Source: choose GitHub Actions (not “Deploy from a branch”). Until that is set, pushes will not publish a site.
CI runs on pushes to main or master and uses yarn build:pages. The site URL is https://<user>.github.io/<repo>/ (e.g. if the repo is d3, keep pagesBase as /d3/ in vite.config.ts). You can also run the workflow manually: Actions → “Deploy to GitHub Pages” → Run workflow.
src/main.ts— app entrydata/— typed sample datasetspublic/assets/— static assets (e.g. CSS)
Package manager: Yarn (lockfile: yarn.lock).
