Skip to main content
100%

Cars Scatterplot

✓ Published3🌍 Public
RRiccardo Pressiani
Last edited Oct 1, 2019
Created on Oct 1, 2019
Forked from Customizing Axes

This scatterplot displays the relationship between horsepower and weight for a dataset of cars, with each red semi-transparent circle representing a vehicle. The y-axis is reversed so that lighter cars appear higher on the chart, and both axes include labeled gridlines. The visualization uses D3 v5 with `d3.csv`, `scaleLinear`, `axisBottom`, and `axisLeft`, rendering SVG circles and a titled chart with margin-based layout. The data is loaded from a remote CSV file and parsed into numeric values before plotting.

AI-generated description
MIT Licensed

Similar vizzes