🌍 Public
Viewing a saved revision (read-only)
790126d1ae894f4aa13ec76287606ae9
que 3 supriya
This scatter plot visualizes car dataset attributes, plotting horsepower on the x-axis against highway MPG on the y-axis, with each point colored by the vehicle’s make. Built with D3 v6, it uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `schemeTableau10` for categorical colors, and `d3.axisLeft`/`d3.axisBottom` for labeled scales. The SVG renders circles for each data row fetched from a CSV, includes a legend listing manufacturers, and positions axis titles rotated for readability.
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.