Skip to main content
100%

Cars: scatter plot

✓ Published0🌍 Public
DDavid Sjoberg
Last edited Nov 25, 2019
Created on Nov 25, 2019
Forked from Cars: scatter plot

This scatter plot displays the relationship between horsepower and MPG for a dataset of cars. Each circle represents a car, with its position determined by the car's MPG on the x-axis and horsepower on the y-axis. The visualization uses D3 version 5, specifically the `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions, and renders as an SVG. Data is loaded from a CSV file using D3's `csv` method, and the plot includes labeled axes, a title, and grid lines.

AI-generated description

A scatter plot represeting horsepower Vs MPG.

MIT Licensed

Similar vizzes