Activity-8_Question-3
✓ Published0🌍 Public
A sample dataset loaded from GitHub is displayed in a simple scatter plot, showing the relationship between horsepower and torque for different car makes. The plot uses blue and red dots to represent two random categories assigned to the data. The visualization is built with D3.js (v7), using `d3.scaleLinear` for axes and `d3.scaleOrdinal` for colors. The code demonstrates loading data via `csvParse`, and the chart is rendered as an SVG with axes and labels for "Horse Power" and "Torque".
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