🌍 Public
Viewing a saved revision (read-only)
7958222f7ed544a1bde6e783491b51e9
task8.1
This example visualizes car auction data by displaying the average selling price for each vehicle make as a bar chart. The dataset is loaded from a remote CSV file and parsed using `d3.csvParse`. The visualization uses D3 v6 to construct an SVG with `scaleBand` for the categorical x-axis and `scaleLinear` for the price y-axis, rendering light blue rectangles for each make. The code also adds rotated x-axis labels and descriptive axis titles for "Make" and "Selling Price."
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.