Skip to main content
100%

Fork of Directly Labelled lines

✓ Published1🌍 Public
MMark Lam
Last edited Jan 19, 2022
Created on Jan 19, 2022

This example demonstrates directly labeled line charts, where each line is identified by a label placed within its corresponding Voronoi cell. It visualizes time-series data across multiple categories, with each line rendered as a distinct colored path and labeled accordingly. The chart uses D3 v7, along with the arraygeous and geometric libraries, to compute Voronoi diagrams and place labels at the largest cell centroid for each line. The data is loaded from a remote CSV file and displayed using SVG rendering.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes