🌍 Public
Viewing a saved revision (read-only)
f005680d021640999c54c3d04cae7edc
Fork of Hello VizHub
This example shows a car price area chart, displaying a univariate trend over time with a shaded region beneath the line. The visualization uses D3.js v6, with `d3.area` and `d3.line` generators to construct the shape, while `d3.scaleTime` and `d3.scaleLinear` map data to the x- and y-axis. The chart reads data from an external source and renders it into an SVG container defined in the HTML. Axes are drawn using `d3.axisBottom` and `d3.axisLeft`, providing clear temporal and price references.
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.