Skip to main content
100%

Activity 6_Task3.2

✓ Published1🌍 Public
SSiva Kishore Reddy
Last edited Oct 22, 2024
Created on Oct 22, 2024

This example shows a scatter plot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with the three flower species distinguished by different symbol shapes (circles, crosses, and diamonds) via a shape legend. The visualization is built with D3 v7, using `scaleLinear`, `scaleOrdinal`, `symbol`, and `symbolsFill` to position and style the marks. It fetches the CSV data from a GitHub repository and renders it in an SVG sized to the window. A modular structure separates the axes, legend, and plot logic into reusable functions.

AI-generated description
MIT Licensed

Similar vizzes