Fork of Fork of Stylized Scatter Plot
This visualization is a scatter plot of the Iris dataset, showing petal length on the x-axis against sepal width on the y-axis. Each point is a semi-transparent teal circle with a hover tooltip displaying its exact x-value. The plot uses a clean, minimal design with labeled axes styled with the Poppins font.
Built with React and rendered as SVG, the code uses D3 v5 functions like `scaleLinear`, `extent`, and `format` to scale the data and generate axis ticks. The data is loaded asynchronously from a CSV file using D3's `csv` method, and the axes and marks are constructed via custom React components (`AxisBottom`, `AxisLeft`, `Marks`).