Q6
✓ Published0🌍 Public
This scatter plot visualizes car performance by plotting horsepower against highway MPG for various makes, with points colored by category (Economy, Standard, Luxury, Sports). The visualization uses D3 v7 to create SVG elements, including axes, labels, and a legend, with data initially defined as a sample array. The example demonstrates basic D3 data binding, scales, and SVG rendering, but does not load the provided CSV dataset or use the separate canvas-based bar chart code in index.js.
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