Skip to main content
100%

Activity 7_Q2

✓ Published0🌍 Public
Sssuryateja804@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from Activity 7

This example displays monthly average temperatures as a smooth area chart, with the area fill and line colored green and each data point labeled with its value in degrees Celsius. It loads CSV data from a GitHub gist and renders an SVG visualization using D3 v5, applying `scaleBand` and `scaleLinear` for the axes, `area` to generate the area path, and `axisBottom`/`axisLeft` for the titled axes. The code uses `select`, `csv`, `max`, and the `join` method to add text labels for peaks and troughs.

AI-generated description
MIT Licensed

Similar vizzes