Viz - Line - Transition
✓ Published0🌍 Public
NNPashaP
Last edited Jan 14, 2018
Created on Jan 14, 2018
A line chart continually updates every two seconds, displaying ten points with random values connected by a steelblue line. The visualization first shows a single transition of the line and its points, then repeatedly re-draws the chart with new data. Built with D3 v4 and the viz.js extension, the example calls `viz.line()`, sets a 1000-millisecond duration, and uses `line.transition()` to animate the changes. The SVG render uses a `g` element, and the `randomData` function generates the varied point positions.
AI-generated descriptiongpl-3.0 Licensed