🌍 Public
Viewing a saved revision (read-only)
9e0d1d77a96640298f07f87bd12059d5
Area Chart
This area chart visualizes automobile sales by brand, with a steelblue filled path showing the trend across categorical x-axis values. The code loads CSV data from a GitHub repository using `d3.csv`, converts the Sales column to numbers, and renders the SVG chart with `d3.area` for the path, `scaleBand` for the x-axis, and `scaleLinear` for the y-axis. Axis labels for Brand and Sales are added via `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.