Skip to main content
100%

Cars Scatter Plot

✓ Published2🌍 Public
Nnkrpyate
Last edited Mar 9, 2020
Created on Mar 9, 2020
Forked from Customizing Axes

This scatter plot shows the relationship between horsepower and weight for a dataset of cars, with each car represented as a semi-transparent red circle. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear`, `d3.extent`, and `d3.axisBottom`/`d3.axisLeft` to construct the axes. Data is loaded from a CSV file via `d3.csv`, and numeric fields are parsed before rendering. Axis labels and a title are added as SVG text elements, with tick marks and gridlines customized through the axis’s `tickSize` method.

AI-generated description

This Scatter shows data about cars

MIT Licensed

Similar vizzes