Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
RRodolfo Viana
Last edited Jan 4, 2021
Created on Dec 31, 2020

This scatter plot visualizes the relationship between horsepower and miles per gallon for various car models, sourced from the auto-mpg dataset. The D3 v6 code loads CSV data, maps horsepower to the x-axis and mpg to the y-axis using linear scales, and renders semi-transparent pink circles for each car. Axis tick marks extend across the plot, and both axes are labeled. The SVG output includes a title and uses Roboto Mono typography for all text elements.

AI-generated description
MIT Licensed

Similar vizzes