Skip to main content
100%

Scatter Plot with Shape_tutorial3.2

✓ Published0🌍 Public
Ssuchigeneralpur@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024

This example demonstrates a scatter plot visualizing the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with species encoded by different symbol shapes and shown in a legend. The visualization is built with D3 v7, using `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` to assign shapes, and `symbolGenerator` to render each mark. Data is loaded as CSV from a remote source and parsed with `csvParse`, while reusable modules (`axes`, `scatterPlot`, `shapeLegend`) organize the rendering.

AI-generated description
MIT Licensed

Similar vizzes