Star Wars vehicles comparison
A scatterplot compares Star Wars vehicles across three selectable attributes, mapping length, max speed, crew, passengers, cargo capacity, or cost to the x-axis, y-axis, and circle size. Users toggle between all vehicles or those under 20 meters via a checkbox. The SVG visualization uses d3.scaleLinear, d3.scaleSqrt, and d3.axisBottom/Left, with animated transitions on axis changes. Vehicle data comes from vehicles.json, filtered for numeric fields. Clickable column headers rebuild the axes and circles, while hover reveals vehicle names.