Skip to main content
100%

D3 Cars Scatter Plot

✓ Published1🌍 Public
Ssathishkottravel
Last edited Apr 25, 2020
Created on Apr 25, 2020

This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear` for both axes and `d3.axisBottom`/`d3.axisLeft` for tick marks. Semi-transparent steelblue circles represent individual car models, with axis labels and a title clarifying the chart’s purpose. Data is loaded as CSV and parsed before rendering, with margins and inner dimensions calculated to position the plot within the SVG canvas.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes