Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in Bergenfield Line Chart

Public visualization

Temperature in Bergenfield Line Chart

0 stars0🌍 Public
IItoIsGone
Last edited Jun 9, 2022
Created on Jun 9, 2022

This line chart visualizes one week of temperature data in Bergenfield, NJ, with time on the x-axis and degrees Fahrenheit on the y-axis. The code loads data from a CSV URL using D3’s `csv` method, then renders the chart with SVG. It uses `scaleTime` and `scaleLinear` for the axes, `axisBottom` and `axisLeft` for ticks, and a `line` generator with `curveBasis` to draw a smooth maroon path for the temperature trend.

AI-generated description

This line chart shows one week of temperature (in degrees Fahrenheit) in Bergenfield, NJ. The data comes from timeanddate.com.

Comments

Sign in to join the discussion.

MIT Licensed