Real-time Line Chart D3
The chart visualizes a real-time line graph that appends a new data point every 500 milliseconds, displaying a dynamic trend of values over time. Built with D3 v5, it uses an SVG renderer with a clip-path to constrain the line within the plotting area. The x-axis is driven by a time scale, while a linear scale maps values on the y-axis. Randomly generated data points are fed into a d3.line path with a basis curve, and the axis transitions (transition.call) slide smoothly as new points arrive.