Reusable Fork of Scatter Plot - ICE7
This example visualizes the relationship between petal width and sepal length for three flower species (Rose, Tulip, and Lily) using an SVG scatter plot rendered with D3 v7. The code loads data from a CSV file, scales the axes linearly, and maps flower type to a categorical color scale (steelblue, tomato, black). It includes axis labels, a chart title, and a legend, with points drawn as semi-transparent circles. The scatter plot shows clear clustering by species, with lilies having the largest dimensions.