Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Ddaigokawabe
Last edited Jul 20, 2020
Created on Jul 20, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between vehicle weight and horsepower using data from the auto-mpg dataset loaded via `d3.csv`. The visualization employs `d3.scaleLinear` with `d3.extent` and `.nice()` to map weight on the x-axis and horsepower on the y-axis, with blue semi-transparent circles rendered as SVG elements. Axes are drawn using `d3.axisBottom` and `d3.axisLeft`, complete with rotated labels, tick marks, and a title. The chart uses margins to position a grouped `<g>` element, demonstrating fundamental D3 data binding and scales.

AI-generated description
MIT Licensed

Similar vizzes