Activity6_Q3
✓ Published0🌍 Public
This example visualizes the performance of car brands by means of an SVG scatter plot and a Canvas-based bar chart. The scatter plot, created with D3 v7, maps each vehicle’s horsepower to its highway MPG and colors points by category (Economy, Standard, Luxury, Sports). The bar chart, rendered via Chart.js, aggregates average horsepower per make using a horizontal bar layout with a custom legend derived from CSV data. Axes are generated using `axisLeft` and `axisBottom` utilities.
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