task_3 supriya
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and sepal length for three flower species. Colored circles (skyblue, lightgreen, and orange) distinguish setosa, versicolor, and virginica samples, with the x-axis and y-axis using d3.scaleLinear and d3.extent to map data ranges. The visualization loads CSV data via d3.csv, renders circles as SVG elements, and adds axes using d3.axisBottom and d3.axisLeft, with axis labels rotated for clarity. The code also sets circular radius and fill colors based on species values.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed