🌍 Public
Viewing a saved revision (read-only)
186aa3ce591742bfa6ead9ca716b443b
T3_Q3.6
This scatter plot displays the relationship between horsepower and highway MPG for a car dataset, with points colored by car make. The visualization uses D3 v6 to fetch CSV data, map horsepower to the x-axis and highway MPG to the y-axis via `scaleLinear`, and encode car make with `scaleOrdinal` and `schemeTableau10`. The SVG rendering includes axis labels, a legend, and uses a data join to create circles.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.