Scatter Plot with Iris DataSet
✓ Published0🌍 Public
A scatter plot visualizes the Iris dataset, mapping petal length and petal width for each sample while coloring points by species (setosa, versicolor, virginica) using red, yellow, and blue markers. Built with D3 v6 and React, the visualization loads data from a CSV via `d3.csv`, applies `scaleLinear` and `extent` for axes, and renders circles with SVG attributes. Axis labels appear rotated, and the code also includes a separate React-based bar chart component using `scaleBand` and `scaleLinear` for country cost data, though the primary display focuses on the scatter plot.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed