🌍 Public
Styles bar chart
This scatter plot visualizes the Iris dataset, showing sepal length versus sepal width for three flower species. The chart uses React for component structure and renders as SVG. D3’s `scaleLinear` handles the axes, while `csv` from d3 loads the dataset. Data points are colored by species—purple for setosa and versicolor, green for virginica—and each circle includes a native SVG `<title>` tooltip. Axis labels and ticks are styled with CSS, and the layout applies fixed margins.
AI-generated descriptionScatter plot of iris dataset: The iris dataset.
MIT Licensed
Comments
Sign in to join the discussion.