Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars scatter plots

Public visualization

Viewing a saved revision (read-only)

14b23e30b5344d9db5b1cb4fe591740e

Cars scatter plots

0 stars1🌍 Public
TTimothy sit
Last edited Dec 28, 2020
Created on Dec 28, 2020
Forked from Scatter plots

This scatter plot visualizes the relationship between horsepower and weight for cars, with each circle representing a vehicle. The data is loaded from a CSV file and rendered as an SVG using D3 v6. The code employs `d3.scaleLinear` for both axes, `d3.axisLeft` and `d3.axisBottom` for ticks, and `d3.extent` to compute domains. Axis labels and a title are added as SVG text elements, while circles use a fixed radius with steelblue fill and partial opacity.

AI-generated description