Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

7f5cb8061dfd4d4794ac8b41a3aec9db

Cars Scatter Plot

0 stars2🌍 Public
Bbambaleq
Last edited Jan 20, 2020
Created on Jan 18, 2020
Forked from Customizing Axis

This scatter plot from the auto-mpg dataset visualizes the relationship between car horsepower and weight. The graph uses a linear scale for both axes, with each vehicle represented as an orange circle. The chart includes axis labels, a title, and grid lines. The code employs d3.scaleLinear, d3.extent, d3.axisBottom, and d3.axisLeft to construct the scales and axes, and renders the plot as an SVG using the select and append methods.

AI-generated description