Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scattercar

Public visualization

Viewing a saved revision (read-only)

b966055b26e44d6a913983f9320e7b43

scattercar

0 stars1🌍 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.