Activity 6 Q2
✓ Published0🌍 Public
An area chart displays the relationship between passenger age and fare from the Titanic dataset. The D3 v7 library loads the CSV data, maps age to the x-axis and fare to the y-axis, and renders a steel-blue filled area using `d3.area`. Linear scales, axes with labels, and a responsive SVG container structure the visualization.
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