Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars1🌍 Public
JJasonXQH
Last edited Jun 16, 2020
Created on Jun 16, 2020
Forked from Scatter Plot

This example visualizes the relationship between horsepower and weight for a dataset of cars, with each car represented as a semi-transparent red circle. The scatter plot uses D3.js version 5, leveraging scales such as `scaleLinear`, axes generated with `axisBottom` and `axisLeft`, and data loaded via `csv` from a remote dataset. The SVG rendering includes styled axis ticks, grid lines, and labeled axes, with circle positions mapped through `xScale` and `yScale` based on the data’s extent.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed