Skip to main content
100%

test

✓ Published0🌍 Public
11807589994@qq.com
Last edited Nov 1, 2024
Created on Oct 31, 2024

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 description
MIT Licensed

Similar vizzes