Activity6_ Que3
✓ Published0🌍 Public
This scatter plot visualizes the relationship between car horsepower and weight, with each point colored and shaped according to the number of engine cylinders using D3 v6's `scaleOrdinal` and `schemeCategory10`. The visualization loads data from a Gist CSV via `d3.csv`, filters invalid entries, and renders SVG paths with custom symbols from `d3.symbol` to distinguish cylinder groups. An interactive legend maps shapes to cylinder counts, while axes and labels are generated using `axisLeft` and `axisBottom`, providing a clear comparison of vehicle performance metrics.
AI-generated descriptionMIT Licensed