test
✓ Published0🌍 Public
This example demonstrates an interactive line chart of a sine wave, plotting y = sin(x) for x values from 0 to 100. A brushable range slider allows users to zoom into a specific x-domain interval, dynamically updating the x-axis scale and the plotted line to show only the selected portion. The visualization is built with D3.js, using `d3.scaleLinear` for axes, `d3.line` for the path, and the `d3-simple-slider` library's `sliderBottom` component for the range selection. The SVG rendering is generated programmatically from random-like data computed in the code.
AI-generated descriptionMIT Licensed