Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Comparing Car Stats, using D3.js

Public visualization

Viewing a saved revision (read-only)

379ac00de7a842adba17903b0a79d7eb

Comparing Car Stats, using D3.js

0 stars0🌍 Public
AAdamFrankWhite
Last edited Mar 5, 2020
Created on Mar 5, 2020
Forked from HTML Starter

This visualization compares car statistics by plotting miles per gallon (mpg) against horsepower for 32 car models. Each car is represented as a circle on a scatterplot, with axis labels and gridlines provided by D3’s `axisBottom` and `axisLeft` functions. The data comes from a CSV file, parsed with `d3.csv`, and rendered as an SVG using `d3.scaleLinear` for both axes. The cars are sorted by horsepower, and the circles are styled with steelblue fill and opacity.

AI-generated description

A bare minimum HTML page.

See also React Starter.