Fork of Svelte + D3 Starter
✓ Published1🌍 Public
This example visualizes a dataset using a force-directed graph layout, displaying nodes as circles positioned by physics simulation. It shows how data points relate through computed spatial arrangement. The implementation uses Svelte for component rendering and D3’s `d3.forceSimulation` for the underlying physics, with forces for centering, collision, and linkage. The code imports `App.svelte` and mounts it into a target container, relying on D3’s global library from the VizHub configuration. The rendering approach is SVG-based, as indicated by the use of Svelte’s templating and D3’s manipulation functions. No specific data source is hardcoded, suggesting the dataset is external or generated within the component.
AI-generated descriptionMIT Licensed