Skip to main content
100%

Different symbols of Fork for Reusable scatter plot

✓ Published0🌍 Public
SSaiipriiya
Last edited Mar 12, 2023
Created on Mar 10, 2023

A scatter plot displays iris species data with distinct D3 symbol shapes—circles, crosses, diamonds, squares, stars, triangles, and wye—mapped to the species column via `scaleOrdinal` and `symbol().type()`. Petal width appears on the x-axis and sepal length on the y-axis, with linear scales and SVG axes rendered from a CSV file. The reusable `scatterPlot` function configures size, margins, and accessor functions, then joins the generated path data to SVG elements.

AI-generated description
MIT Licensed

Similar vizzes