TASK 9
✓ Published0🌍 Public
This area chart shows the distance covered by pre-owned cars across model years, using a steelblue filled path with labeled axes and a title. Built with D3 v7, the visualization loads CSV data from a GitHub repository, parses the distance values, and renders the chart as an SVG. The code uses `d3.area()`, `d3.scaleLinear()`, `d3.extent()`, and `d3.max()` to compute the scales and generate the path, with `d3.axisBottom()` and `d3.axisLeft()` adding the axes.
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