Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7_Q2

Public visualization

Viewing a saved revision (read-only)

78d240dd68f7431782bc73f4c8a4577d

Activity 7_Q2

0 stars0🌍 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