Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot displays the relationship between vehicle weight and horsepower for cars in the auto-mpg dataset, with each point representing an individual car. The visualization uses d3.csv to load the data, d3.scaleLinear with .nice() to map the weight and horsepower values to pixel coordinates, and d3.axisLeft and d3.axisBottom to render the axes. The chart is drawn as an SVG with semi-transparent steelblue circles, and the x-axis labels are formatted using d3.format to display numbers in abbreviated form.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed