This template should help get you started developing with Svelte + D3 in Vite.
Requirement: Install Node.js and npm.
In order to copy the files to your local machine, install degit first.
// create a new directory
mkdir svelte-d3-starter
cd svelte-d3-starter
// use degit to copy the files to your local system
degit higsch/svelte-d3-starter
// install the dependencies
npm i
// start the development server
npm run dev