Fork of Fork of Cool Art : generated line data with d3 line generator api : circle on path-7000 data points
✓ Published0🌍 Public
NNita
Last edited Mar 6, 2022
Created on Mar 6, 2022
This visualization generates 12,000 random data points and renders them as both a smooth, colored path using D3’s line generator with a basis curve, and as small circles at each coordinate. Built with D3 v7, the SVG displays the synthetic dataset on a black background, with semi-transparent strokes and fills assigned via random RGB values. The path is drawn first, followed by the circles, which overlay the line to highlight the distribution of the raw data points. The code demonstrates D3’s `d3.line()` API and data join for dynamic SVG element creation.
AI-generated descriptionMIT Licensed