Task8_Question3
✓ Published0🌍 Public
This scatter plot visualizes the relationship between vehicle weight and miles per gallon, with points shaped according to the number of cylinders. The visualization is built with D3 v7, using `scaleLinear` for both axes and `scaleOrdinal` with `symbolsFill` to map cylinder counts to distinct shapes. Axis labels and tick marks are generated through custom `axes` and `shapeLegend` modules, which leverage D3's `axisLeft`, `axisBottom`, and `symbol` APIs. Data is loaded asynchronously from a CSV file via `csvParse` and rendered as SVG paths.
AI-generated descriptionMIT Licensed