Skip to main content
100%

Cars Scatterplot

✓ Published2🌍 Public
MMatthew Rubino
Last edited Jun 3, 2021
Created on Jun 3, 2021
Forked from Scatterplot

This scatterplot displays the relationship between horsepower and weight for a dataset of cars, with each point representing an individual vehicle. The visualization uses D3 v6’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes with gridlines, while circles are rendered via SVG. Data is loaded as CSV from an external dataset and parsed into numeric values before being plotted. The chart includes labeled axes, a title, and semi-transparent steelblue points to reveal overlapping data density, with margins and tick padding configured for clarity.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes