Reusable scatter plot using idis dataset with different symbols
✓ Published0🌍 Public
Vvidhyanamini
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Reusable scatter plot with different symbols
This reusable scatter plot visualizes the Iris dataset, mapping petal width to the x-axis and sepal length to the y-axis, with each species represented by a distinct D3 symbol (circle, diamond, cross, etc.). The visualization employs a modular scatterPlot function that leverages d3.scaleLinear, d3.scaleOrdinal, d3.axisLeft, d3.axisBottom, and d3.symbol to generate the SVG marks and axes. Data is loaded asynchronously via d3.csv from a GitHub gist, and the plot resizes to fill the browser window.
AI-generated descriptionMIT Licensed