srinivas 3.2
✓ Published0🌍 Public
This scatter plot visualizes a car dataset, mapping horsepower on the x-axis against highway MPG on the y-axis, with each point colored by the car’s make. The visualization uses D3 v6 to load CSV data from a GitHub repository, employing `scaleLinear` for axes, `scaleOrdinal` with `schemeTableau10` for categorical colors, and `axisLeft`/`axisBottom` for gridlines. It renders as an SVG, includes labeled axes and a legend, and dynamically sizes to the browser window.
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