👉🗺️📊 https://regiohub.github.io/soep-regiohub-dataexplorer/
Web application for interactive exploration of data at SOEP RegioHub
- Node.js
- Clone the repository
- Install dependencies:
npm install
(See also SvelteKit documentation: https://kit.svelte.dev/docs/routing)
src/routes/:+page.svelte: Home page+layout.svelte: Layout for all pages (here: only the home page)*.svelte(Pascal case): Components used in the home pageLineChart.svelte,Map.svelte: Visualization components, depend onEChart.svelte, which is a wrapper for the ECharts library (docs: https://echarts.apache.org/en/api.html, https://echarts.apache.org/en/option.html)DiscreteSlider.svelte: Slider for selecting year
*.ts: TypeScript files for data processing and utility functionsmetadata.json: Metadata for the visualized variablesassets/: Static files (data, images)
- SvelteKit: Web application framework
- Tailwind CSS: CSS framework
- DaisyUI: Tailwind CSS component library
- ECharts: Visualization library
- arquero: Data manipulation library
- Start development server and open browser
npm run dev -- --open- Build for production
npm run build- Serve production build locally
npm run preview- Deploy to GitHub Pages
npm run deploy