D3 Cars Scatter Plot
✓ Published1🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed