Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line chart week temperatures

Public visualization

Fork of Line chart week temperatures

0 stars0🌍 Public
Aaashrithd4
Last edited Mar 23, 2022
Created on Mar 23, 2022

This visualization shows recorded temperatures in Rio de Janeiro over time, with a smooth orange line path connecting data points and a white circle marking each reading. The chart uses D3.js v5 scales and axes, with the y-axis oriented vertically and the x-axis displaying timestamps. It implements `d3.scaleTime`, `d3.scaleLinear`, `d3.line` with a `curveBasis` smoothing function, and `d3.axisLeft`/`d3.axisBottom` for tick marks and gridlines. The SVG rendering includes margin-based layout and labeled axes, while the data comes from a CSV file loaded via `d3.csv`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed