lalith_act6-t3.2
✓ Published0🌍 Public
This example shows a scatter plot of iris flower measurements, mapping sepal length to the x-axis and petal length to the y-axis. Points are colored by species using a categorical shape scale with D3’s `scaleOrdinal` and `symbolsFill`, while a custom legend displays the distinct marker shapes. The visualization loads iris data from a GitHub-hosted CSV, parses it with `d3.csvParse`, and renders axes and marks using D3 v7’s selection joins and `symbolGenerator`. Interactivity is limited to resizing the SVG to the full viewport.
AI-generated descriptionMIT Licensed