Skip to main content
100%

Activity6_q3.2

✓ Published0🌍 Public
YYeruva Snehith Reddy
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A scatter plot displays model measurements against feature measurements for motorcycle brands Yamaha, BMW, and others, with colors distinguishing brands. The code loads CSV data via `d3.csv`, parses numeric fields, and uses `d3.scaleLinear` with `d3.extent` to map values to screen coordinates. Circles are rendered as SVG elements with fixed radius, colored by brand through a switch statement. Axes are drawn using `d3.axisLeft` and `d3.axisBottom`, with labels added as SVG text.

AI-generated description
MIT Licensed

Similar vizzes