This template should help get you started developing with Svelte 5 + D3 in Vite.
// clone the git repository to your local system
// optional: fork this repository before cloning
git clone https://github.com/higsch/svelte-5-d3-starter.git
// go into the new directory
cd svelte-5-d3-starter
// install the dependencies
npm i
// start the development server
npm run dev