Skip to main content
100%

Comparing Car Stats, using D3.js

✓ Published0🌍 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.

MIT Licensed

Similar vizzes