Fork of ICE - 7 Reusable Scatter Plot Maanas Katta
✓ Published0🌍 Public
PPrathyusha0304
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE - 7 Reusable Scatter Plot Maanas Katta
This scatter plot visualizes the Iris dataset, displaying the relationship between petal width and sepal length. Each circle represents a flower, colored by species: grey for setosa, green for versicolor, and pink for virginica. The visualization uses D3.js's `scaleLinear`, `axisLeft`, and `axisBottom` APIs to render axes and the `join` operation for SVG circles. Data is loaded via `d3.csv` from a GitHub gist, with the plot rendered as an SVG, and the code demonstrates a reusable `scatterPlot` function with configurable dimensions, margins, and radius.
AI-generated descriptionMIT Licensed