Skip to main content
100%

Car's Scatter Plot

✓ Published2🌍 Public
MModalMBS
Last edited Sep 21, 2020
Created on Sep 21, 2020
Forked from Scatter Plot

This scatter plot shows the relationship between vehicle weight and fuel efficiency (MPG) for a dataset of cars, with each red circle representing an individual car model. The visualization uses D3.js v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data values to SVG coordinates and render labeled axes with gridlines. Data is loaded asynchronously via `csv` from a remote file, then parsed into numeric values before being drawn to the SVG canvas. The chart includes a title and axis labels, with circles having partial opacity to reveal overlapping points.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes