A hands-on visual analytics tutorial built with SvelteKit and D3.js for ITCS-5122.
This tutorial demonstrates how to create interactive data visualizations using SvelteKit and D3.js. It provides a foundation for building web-based visualization app with modern web technologies.
Clone the repository:
git clone https://github.com/zyang19/ITCS5122-SvelteKit-D3-Tutorial.git
Install dependencies:
npm install
# or
pnpm install
Start the development server:
npm run dev
# or to open in browser automatically
npm run dev -- --open
my-vis-5122/
├── src/ # Source code
│ ├── lib/ # Components and utilities
│ │ ├── components/ # Reusable UI components
│ │ ├── visualizations/ # D3 visualization components
│ │ └── state/ # State management for visualizations
│ ├── routes/ # SvelteKit routes (pages)
│ ├── app.html # HTML template
│ └── app.css # Global styles
├── static/ # Static assets (images, data files)
│ └── data/ # JSON and CSV datasets
├── .svelte-kit/ # SvelteKit build output (ignored by git)
├── package.json # Project dependencies and scripts
└── vite.config.js # Vite configuration