Skip to main content
100%

Activity-8_Task-3.2

✓ Published0🌍 Public
Ttharunramula@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This visualization is a scatter plot of iris flower measurements, showing sepal length against petal length with each species (setosa, versicolor, virginica) distinguished by a unique symbol. The plot includes linear axes for both numerical variables and a separate legend key that maps each species to its corresponding shape. Built with D3 v7, the code uses `scaleLinear` and `scaleOrdinal` to map data values to positions and shapes, while `symbol()` from D3 generates the custom mark paths. The chart loads the iris dataset from a remote CSV file and renders responsively to fill the browser window. The implementation uses D3's join operation to efficiently create and update the SVG elements for marks, axes, and legend.

AI-generated description
MIT Licensed

Similar vizzes