Create a folder for your svelte project by typing the following at the command line:
npx degit sveltejs/template svelte-fusion-chart-demos
This will create a project folder called svelte-fusionchart-demo with the following directory structure.
There are public, scripts and src folders. You only need to change code in the App.svelte file and main.js located in the src folder.
Next at the command line type the following:
cd my-first-svelte-project
npm install
npm install svelte-fusioncharts fusioncharts --save
Add the main code to App.svelte
In the main.js file add the import section to import the app.
npm run dev
When the server runs, it will show the portnumber to use with localhost. Open your browser and view the app.