🌍 Public
DV TASK-8 Q3
This scatter plot displays the relationship between horsepower and torque for a collection of cars, with each point colored by the car's make. It loads data from a remote CSV file using `d3.csv` and renders an SVG graphic. The visualization uses `d3.scaleLinear` for the x and y axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for color encoding, and `d3.axisBottom` and `d3.axisLeft` for labeled axes. A legend identifies the makes.
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
Comments
Sign in to join the discussion.