🌍 Public
Viewing a saved revision (read-only)
1e2e8acbe93c4c24a3866aa096c1d9b1
Area chart
This area chart displays Nike Runner sales from 2000 to 2024, with the x-axis representing time and the y-axis showing sales volume. The visualization uses D3 v6 to load CSV data from a GitHub repository, employing `d3.csv`, `d3.scaleTime`, `d3.scaleLinear`, and `d3.area` to render a steelblue filled path. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while SVG text elements label the chart title, x-axis ("Year"), and y-axis ("Sales"). The data is parsed with `d3.timeParse` before being passed to the area generator.
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.