area chart
✓ Published0🌍 Public
A temperature area chart visualizes monthly temperature variations with a single filled area. The chart uses D3 v6 to load a CSV dataset via d3.csv and renders an SVG path using the d3.area generator, with d3.scalePoint and d3.scaleLinear handling the axes. The x-axis labels are rotated for readability, and axis labels for “Month” and “Temperature (°C)” are added. The area is filled in steelblue, providing a clear view of the data’s overall trend.
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