Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Sscarlet shao
Last edited Jun 3, 2021
Created on Jun 3, 2021
Forked from Scatter Plot

This example shows the relationship between horsepower and weight for a collection of cars, with each vehicle represented as a semi-transparent circle. The scatter plot uses a linear scale for both axes, with tick marks extending across the plot area to create a grid. The D3 library handles data loading from a CSV file, and the `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` functions position the points and axes. The visualization is rendered as SVG, with axes labels and a title formatted using custom CSS classes.

AI-generated description
MIT Licensed

Similar vizzes