Scatter Plot with Different Markers for Different Groups
✓ Published0🌍 Public
This scatter plot displays the Iris dataset by plotting PetalLengthCm against PetalWidthCm, with each species (setosa, versicolor, and virginica) rendered using a distinct SVG symbol—circle, star, and diamond respectively—via d3.symbol types. The visualization uses D3 v6 to load CSV data, apply linear scales for axes, and generate the SVG scatter plot. While the primary axes map petal dimensions, the code also reads sepal measurements into the mark data, though it does not use them for positioning. The plot fills the full browser window with a responsive SVG canvas.
AI-generated descriptionMIT Licensed