🌍 Public
Viewing a saved revision (read-only)
fd33d72fda1746c8b88bd1147a2e1ea9
Stylized Scatter Plot
This scatter plot visualizes the iris dataset, showing petal length against sepal width as individual teal circles. Built with React and SVG, the chart uses d3.scaleLinear with .nice() to construct the axes and d3.extent to compute the domain. Axis components render tick marks and labels, while a tooltip on each circle exposes the x-value in a semantic title element. Data loading is handled asynchronously via d3.csv, with the results stored in React state through a custom useData hook.
AI-generated descriptionScatterplot of iris dataset