Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Ddanielchamone
Last edited Oct 30, 2019
Created on Oct 30, 2019
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, with each point representing a vehicle. The chart uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisBottom and d3.axisLeft to render tick marks and grid lines. Red semi-transparent circles are drawn as SVG elements, with axis labels and a title styled via CSS. The code removes default axis domains and applies nice() to round scale domains for cleaner tick values.

AI-generated description

This is plot comparing cars' statistics

MIT Licensed

Similar vizzes