Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Jjlongwellchc
Last edited Sep 27, 2019
Created on Sep 16, 2019

This scatter plot displays the relationship between fuel efficiency (MPG) and engine displacement for a dataset of cars, with each circle representing an individual vehicle. The chart uses D3 v5’s `scaleLinear` for both axes, `axisLeft` and `axisBottom` for grid lines and tick labels, and SVG circles with a fixed radius. Data is loaded asynchronously from a CSV file via `csv()`, with numeric fields parsed before rendering. The graph includes rotated axis labels and a title, while the styling applies semi-transparent brown circles through CSS.

AI-generated description

This scatter chart shows some info about cars.

MIT Licensed

Similar vizzes