Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars scatterplot

Public visualization

Viewing a saved revision (read-only)

63b7ba22889f44d3b9f8b707905c945c

Cars scatterplot

0 stars1🌍 Public
Wwieswies
Last edited Feb 7, 2022
Created on Feb 7, 2022

This scatterplot visualizes the relationship between horsepower and weight for a dataset of cars, with each point representing a vehicle. The chart uses D3.js’s `scaleLinear` to map data values to pixel coordinates, `axisBottom` and `axisLeft` for the axes, and SVG circles for the data points. The data is loaded from a CSV file via `d3.csv`, and tick labels are formatted using `format('.3s')`. Styling is applied via CSS, including semi-transparent steelblue circles.

AI-generated description

This scatterplot shows car data.