🌍 Public
Viewing a saved revision (read-only)
a7ffa9ddb5bb49c59e3fe21f011f39d0
Activity6_ Que3
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 description