Fork of Hello VizHub
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width on the axes and coloring each point by species (setosa, versicolor, virginica). The code loads CSV data from a remote URL using d3.csv, applies linear scales with d3.scaleLinear, and renders SVG circles positioned via d3.selectAll and .join. Axes are generated with d3.axisLeft and d3.axisBottom, while the chart dimensions adapt to the window size.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed