🌍 Public
Viewing a saved revision (read-only)
f978deb35eb04d0d8cfd1aee96041ccb
Comparing Car Stats, using D3.js
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 descriptionA bare minimum HTML page.
See also React Starter.