Scatterplot Iris using different marks
This scatterplot visualizes the classic Iris dataset, mapping sepal length and width along the x- and y-axes, with petal length determining the size of each mark. Each of the three iris species (setosa, versicolor, virginica) is represented by a distinct SVG symbol generated using D3’s symbol generator, with colors from the Category20 scale. The plot includes axis labels, a legend with clickable symbols, and a tooltip. Built with D3 v4, the example demonstrates how different marks—circles, crosses, diamonds, and other geometric symbols—can encode categorical data in a scatterplot, and it shows the flexibility of D3’s ordinal scales for symbols and colors. Data is loaded from a CSV file containing the classic Iris flower measurements.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/5c6d0c7d20ed65798ff42e792204a7e9'>Scatterplot Iris using different marks</a>