🌍 Public
Viewing a saved revision (read-only)
58bdaa0adf394d74b00b5e358fa46d20
Svelte Starter: Timeline
Hhelen.bielawa@web.de
Last edited Apr 12, 2026
Created on Apr 10, 2026
A vertical timeline visualization presents two parallel event sequences, shown on the left and right sides of a central axis. Each event appears as a colored dot that expands into a card with a date, title, and description when clicked. Users can toggle between the two perspectives using the fixed buttons at the top. The layout uses a d3 time scale to position events proportionally, with Svelte managing the interactive state and component rendering.
AI-generated descriptionVertikale Timeline mit Scroll-Animation
Ein interaktives Visualisierungsprojekt, das eine vertikale Timeline mit folgenden Features zeigt:
Features
- Vertikale Scroll-Timeline: Lange Timeline zum Herunterscrollen
- Jahreswechsel-Marker: Dünne Linien markieren den Jahreswechsel
- Event-Punkte: Kreispunkte markieren einzelne Events
- Smooth Transitions: Sanfte CSS-Animationen mit Cubic-Bezier Easing
- Responsive Design: Funktioniert auf Desktop und Mobile
- Vereinfachte Architektur: Ohne Visibility Detection für bessere Performance
Verwendete Technologien
- Svelte für reaktive UI-Komponenten
- CSS Transitions für Animationen
- D3.js (optional für weitere Visualisierungen)
Struktur
store.js: Beispiel-TimelinedatenTimeline.svelte: Haupt-Container und KoordinatorTimelineEvent.svelte: Individuelle Event-KomponentenYearMarker.svelte: Jahreswechsel-MarkerApp.svelte: Root-Komponente