Scatter Plot
✓ Published0🌍 Public
This interactive scatter plot visualizes the relationship between two selected features of automobile data, such as horsepower versus weight, using a dataset from VizHub. Users choose the x-axis and y-axis features from dropdown menus, and clicking the "生成结果" button updates the axis labels and title accordingly. The visualization is built with D3 v5, using `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to render the SVG scales and axes. The circles are colored red with 30% opacity, and grid lines are drawn with `tickSize` properties for clarity.
AI-generated descriptionMIT Licensed