Skip to main content
100%

scattercar

✓ Published1🌍 Public
CCalvin.
Last edited Mar 16, 2022
Created on Mar 16, 2022
Forked from Bar Charts and D3

This scatterplot visualizes the relationship between car horsepower and fuel efficiency (MPG) using the auto-mpg dataset. Each semi-transparent blue circle represents a car model, positioned by its horsepower (x-axis) and MPG (y-axis) values, with axes labeled "HP" and "weight." The visualization is built with D3 v7 and React, using `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct the scales and axes. The SVG rendering includes gridlines, tick labels, and a title, with data loaded via the `csv` function.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes