🌍 Public
Viewing a saved revision (read-only)
280dcc2480de40df8bf24693cb8543e3
question3
This scatter plot visualizes the relationship between height and weight, with data points colored by category (A, B, or C) from the IRIS dataset, which is loaded via `d3.csv`. It uses `d3.scaleLinear` for the x- and y-axes, rendered using `axisBottom` and `axisLeft` in an SVG. Points are drawn as circles positioned using `cx` and `cy` attributes, colored by a custom marker function. Axis labels are styled with CSS, and the chart fills the browser window with margins for the title and axes.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.