Question-3-Venkat
✓ Published0🌍 Public
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 descriptionMIT Licensed