🌍 Public
Viewing a saved revision (read-only)
0f4cc2c6a16f40d9b7d24f34ccf6e115
Fork of Shapes and Colors with SVG and CSS
This example demonstrates a scatterplot visualization of the Iris dataset, showing the relationships between sepal and petal measurements across three flower species. The visualization uses D3.js (d3.v4) with an SVG rendering approach, implementing multiple scatterplots to compare different attribute combinations. The code employs d3.scaleLinear for axis scaling, d3.scaleOrdinal with a categorical color scheme for species differentiation, and d3.axisBottom/Left for tick marks. The iris data is loaded from a CSV file and mapped to separate plot regions within a single SVG canvas.
AI-generated descriptionAn example including some commonly used features of SVG.