Skip to main content
100%

Cars Scatterplot

✓ Published2🌍 Public
JJohn Hamilton Bradford
Last edited Oct 25, 2018
Created on Oct 24, 2018
Forked from Scatterplot

This scatterplot displays the relationship between horsepower and weight for a dataset of cars, with each point representing a single vehicle. The visualization uses D3 v5 to load CSV data, create linear scales with `d3.scaleLinear`, and render SVG circles with opacity. Axes are generated using `d3.axisBottom` and `d3.axisLeft`, complete with tick marks and custom axis labels, while a title appears at the top. The chart’s dimensions are set via SVG attributes, and the data is sourced from an external CSV file.

AI-generated description

Testing. This shows a scatterplot.

MIT Licensed

Similar vizzes