Fork of Fork of Directly Labelled lines
✓ Published0🌍 Public
This example shows time-series data as directly labeled lines, with each series identified by a colored line and a text label positioned near its end. The chart uses a time-scaled x-axis and a linear y-axis, with data loaded from a Google Sheets CSV. It relies on D3 v7 for scales, axes, and line generation, while the arraygeous library flattens data and geometric computes Voronoi cell areas to determine optimal label placement. The SVG output is rendered in a fixed 1000×600 viewport.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed