🌍 Public
Viewing a saved revision (read-only)
212a9e1cc73b4a2d8cc35fe481256085
Task 8-Tutorial 3.1_Q
This scatter plot displays vehicle data, mapping height on the x-axis and weight on the y-axis. Each circle’s color encodes the vehicle type—sedans appear red, compacts yellow, and other types green. Built with D3 v6, the visualization loads a CSV from a remote URL, uses `scaleLinear` and `extent` to set axis domains, and renders marks via `select` and `join`. The SVG output includes labeled axes and a red title, with margins and a fixed radius for all points.
AI-generated descriptionWe are Displaying the vehicle dataset using Scatter plot with different colors.