Activity 7 Questiuon 1
✓ Published0🌍 Public
This example visualizes earthquake magnitudes in Hawaii from 2000 to 2025, showing how magnitude values change over time through a combined line and area chart. The visualization uses d3.scaleLinear for both axes, d3.axisLeft and d3.axisBottom for tick marks, and d3.line with d3.curveBasis for the trend line, while d3.area fills the space beneath the curve. Data is loaded from a CSV file via d3.csv, parsed into numeric values, and rendered as SVG elements within a D3 v5 selection.
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