Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_tutorial3.2

Public visualization

Activity6_tutorial3.2

0 stars0🌍 Public
Cchinnivikramnunna@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This interactive scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with species encoded by distinct marker shapes. The D3.js v7 code uses `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` within `scatterPlot.js` and `shapeLegend.js` to render the marks and a custom legend. Axes are drawn using `axisLeft` and `axisBottom`, and data is fetched as CSV and parsed with `csvParse`. The plot updates in response to window resizing, using SVG for rendering.

AI-generated description

Tutorial 3.2 Scatter plot for iris dataset.

Comments

Sign in to join the discussion.

MIT Licensed