Cars Scatterplot
✓ Published0🌍 Public
This scatterplot displays the relationship between vehicle weight and horsepower for a dataset of cars, with each circle representing an individual car. The visualization uses D3 v7 to load the auto-mpg CSV data, then employs `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes. The code renders SVG circles with a red fill and 50% opacity, while library functions like `extent` and `nice` help determine the scales. Title and axis labels are added directly to the SVG group elements.
AI-generated descriptionMIT Licensed