Skip to main content
100%

Untitled

✓ Published1🌍 Public
IIgor Borzunov
Last edited Sep 3, 2020
Created on Sep 3, 2020
Forked from HTML Starter

This example shows a continuously updating line chart that plots random data points in real time, with a smooth curve and a filled area beneath it. The chart scrolls horizontally as new points are added, while the x-axis shifts to keep the latest data in view. It uses D3 v4 scales and generators such as `d3.line` with `d3.curveCardinal` for the smooth path, `d3.area` for the fill, and `d3.axisBottom` for the axis. Animated transitions with `transition.attr` and `ease` shift both the path and area, with grid lines drawn as static SVG paths.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes