Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
AAngus Hon
Last edited Sep 5, 2019
Created on Sep 3, 2019
Forked from Scatter Plot

This scatter plot visualizes the relationship between miles per gallon and horsepower for a dataset of cars, with each point representing a vehicle. The axes are labeled as "Population" and "Weight" despite plotting mpg and horsepower. Built with D3 v5, the visualization uses `scaleLinear`, `axisLeft`, and `axisBottom` to render the chart as an SVG. Data is loaded asynchronously from a CSV file using D3's `csv` method, and circles are appended to the SVG to represent data points.

AI-generated description
MIT Licensed

Similar vizzes