Skip to main content
100%

Untitled

✓ Published0🌍 Public
Eeranyoung
Last edited Feb 21, 2022
Created on Feb 21, 2022

A scatterplot displays the relationship between highway miles per gallon and horsepower for a dataset of cars. Each car is represented by a small circle, with the x-axis mapped to mpg and the y-axis to horsepower. The visualization uses d3.csv to load the data, then d3.scaleBand and d3.scaleLinear to position the circles within an SVG. Axes are rendered with d3.axisBottom and d3.axisLeft, and the chart includes a title and axis labels. The circles have a radius of 1.5 pixels.

AI-generated description
MIT Licensed

Similar vizzes