🌍 Public
Viewing a saved revision (read-only)
ff282daa4616414d85dc8ff3d9541056
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