Skip to main content
100%

Cars Scatter Plot

✓ Published2🌍 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
MIT Licensed

Similar vizzes