Scatter plot
✓ Published2🌍 Public
This scatter plot uses the classic Iris dataset to visualize the relationship between petal length and petal width. The chart is rendered as an SVG using React, with D3.js computing the linear scales via `scaleLinear` and `extent` to map data values to pixel coordinates. The x- and y-axes are generated by the custom `AxisBottom` and `AxisLeft` components, which use D3's scale `ticks` to position grid lines and labels. Data points are drawn as circles with a constant radius, and hovering reveals a tooltip via an SVG `<title>` element.
AI-generated descriptionScatter plot of iris dataset using d3 and keeps track using react
MIT Licensed