Activity6_Task3(Question 3)
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower, torque, and highway MPG for a set of cars, using color to encode the third variable. The visualization is rendered as an SVG using D3 v6, with the code leveraging `d3.csv` to fetch data, and `d3.scaleLinear`, `d3.scaleSequential`, `d3.interpolateBlues`, `d3.axisLeft`, and `d3.axisBottom` to build the plot, axes, and color scale. The dataset is loaded from a GitHub-hosted CSV file, and the chart fills 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