Activity6_question3
✓ Published0🌍 Public
This example visualizes car performance metrics from a CSV file, plotting horsepower against highway MPG for various car makes. It features a scatter plot with color-coded categories (Economy, Luxury, Sports, Other) and a horizontal bar chart showing average horsepower by make, using D3.js for the former and Chart.js for the latter. The SVG scatter plot uses `d3.select`, `d3.scaleLinear`, and `d3.axisBottom`, while the canvas bar chart uses `getContext('2d')` and Papa Parse to load the data.
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