Questio_2
✓ Published0🌍 Public
A bar chart displays car brands along the y-axis and highway MPG along the x-axis. Each bar’s length encodes the MPG value, while a mouseover tooltip reveals the make, horsepower, torque, and MPG for the hovered brand. The chart loads CSV data via `d3.csv`, uses `d3.scaleBand` for the categorical axis and `d3.scaleLinear` for the continuous axis, and renders with SVG. Axes are drawn with `d3.axisBottom` and `d3.axisLeft`.
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