🌍 Public
Viewing a saved revision (read-only)
55911c237b4b4a84b832e18b0acfc330
Question-3-Venkat
This scatter plot visualizes the relationship between Magnesium and Malic Acid levels in wine samples, with point shapes encoding the wine class. The visualization uses D3 v7's `scaleLinear`, `scaleOrdinal`, and `symbol` APIs to map data values to positions and shapes. Data is loaded from a CSV file via `csvParse` and rendered within an SVG container styled with CSS. A legend, positioned at a fixed coordinate, displays the shape-to-class mapping, while custom axes functions generate labeled scales.
AI-generated description