Skip to main content
100%

Scatter Plot

✓ Published3🌍 Public
GGabriel
Last edited Apr 29, 2022
Created on Apr 12, 2022
Forked from Bar Chart

This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and sepal width on the y-axis. Each circle represents a flower sample, with a native SVG `<title>` element providing a tooltip on hover. Built with React and D3 v7, the visualization uses `scaleLinear` and `extent` to compute the scales, while custom `AxisBottom` and `AxisLeft` components render the tick marks and labels. The code loads data via D3’s `csv` function, and styling applies distinct colors to the marks and axis elements.

AI-generated description
MIT Licensed

Similar vizzes