Skip to main content
100%

Interactive Cars Scatter plot

✓ Published3🌍 Public
Vvladvaculin
Last edited Aug 28, 2019
Created on Aug 28, 2019

This interactive scatter plot visualizes the relationship between vehicle weight and horsepower, with each circle’s radius encoding acceleration. The data originates from the auto-mpg dataset loaded via `d3.csv`. Using D3 v5 with SVG rendering, the code employs `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes and gridlines. Hovering over a circle reveals a tooltip via `mouseover` and `mousemove` events, displaying the car’s name, origin, and acceleration value. The plot includes axis labels and a title.

AI-generated description

Hover to see the details.

MIT Licensed

Similar vizzes