🌍 Public
Viewing a saved revision (read-only)
328cb58636e54b0887375cef45675772
question3.2
This example displays a scatter plot of automotive performance metrics, plotting engine power on the x-axis against engine torque on the y-axis. Each data point is represented by a different symbol shape corresponding to the vehicle’s make, with a shape legend clarifying the mapping. The visualization is built using D3.js v7, leveraging `d3.csvParse` to load the dataset from a GitHub-hosted CSV file. It uses `d3.scaleLinear` for the axes, `d3.scaleOrdinal` and `d3.symbol` to assign and render distinct shapes, and custom axis and legend modules.
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.