Question 3
✓ Published2🌍 Public
This scatter plot visualizes car dataset attributes, mapping horsepower on the x-axis and highway MPG on the y-axis, with car make encoded by color. The visualization loads CSV data from a GitHub repository and renders circles in an SVG using D3 v6. It demonstrates core D3 APIs including `csv`, `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `schemeTableau10` for color coding, alongside custom margin and legend positioning.
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.
MIT Licensed