Scatterplot
✓ Published0🌍 Public
This scatterplot visualizes the relationship between vehicle model year and horsepower. Each circle represents a car, with its x-position determined by the year and y-position by its horsepower rating. The visualization builds an SVG chart using D3.js v7, employing `d3.csv` to load the dataset, `d3.scaleLinear` for both axes, and `d3.extent` and `d3.max` to compute the data domains. Hovering over a dot changes its fill color to orange, while axes are rendered with `d3.axisLeft` and `d3.axisBottom`. Data comes from a car models dataset on GitHub.
AI-generated descriptionMIT Licensed