Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot!

Public visualization

Scatter Plot!

0 stars0🌍 Public
SSuzizaher
Last edited Jun 16, 2022
Created on Jun 16, 2022
Forked from Making a Bar Char!

This scatter plot displays the relationship between horsepower and weight for cars from the auto-mpg dataset. The visualization uses red semi-transparent circles positioned on a Cartesian grid with labeled axes and gridlines. The code leverages D3 v5’s `scaleLinear`, `axisBottom`, `axisLeft`, and `csv` to load data, scale quantitative values, and render SVG elements. Data is fetched from a VizHub-hosted CSV file and parsed before being joined to circle elements using D3’s enter selection.

AI-generated description

Cars scatter plot!

Comments

Sign in to join the discussion.

MIT Licensed