Untitled
✓ Published1🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed