Activity_7.1_Question2
✓ Published0🌍 Public
This example visualizes temperature readings from a weather dataset, showing the first two weeks of January as a smooth area chart. It loads the data via a CSV file and uses D3 modules like `csv`, `scaleTime`, `scaleLinear`, `area`, `axisBottom`, and `axisLeft` to construct the chart. The SVG rendering includes labeled axes for date and temperature, with the area filled in steel blue. The code filters the raw data to a specific date range and parses timestamps using `timeParse`, demonstrating modular ES6 imports from D3.
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