🌍 Public
Viewing a saved revision (read-only)
da223a3d2fe04a3ba78d23c14e14d672
iris scatterplot chart
This scatterplot visualizes the Iris flower dataset, plotting sepal length on the x-axis against sepal width on the y-axis. The D3.js v7 scaleLinear and extent functions compute the axis scales, while React components render the SVG axes and circular marks. The data is loaded asynchronously from a remote CSV file using D3's csv utility and parsed into numeric values. The chart includes styled tick marks, axis labels, and hover tooltips showing the sepal length value.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.