🌍 Public
Viewing a saved revision (read-only)
803c2bc28c4d4a0b88dd36a5d5a7435a
Polished Scatter Plot with Menus
This interactive scatter plot displays the Iris dataset, showing relationships between two selected attributes such as petal length and sepal width. Users can choose any variable for the X and Y axes using dropdown menus, which re-render the visualization with new scales and labels. Built with React and D3 v6, the chart uses d3.scaleLinear for axes and d3.csv for data loading, rendering circles as SVG marks. The code also implements custom axis components and formatted tick labels for a polished presentation.
AI-generated descriptionA scatter plot showing the Iris dataset and the relationship between Petal Length and Sepal Width (adaptable to any variable) using D3 and React.