Skip to main content
100%

Line Chart_ICE-7_Archana Goli

✓ Published0🌍 Public
Aarchanagoli@my.unt.edu
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from ICE-7 Line Chart

This example displays the average daily temperature for January 2024 as a red line chart. The chart’s x-axis maps date values using a time scale, while the y-axis uses a linear scale for the temperature in degrees Celsius. The visualization is built with D3 version 5, using functions such as `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` to generate the SVG output. Data is loaded asynchronously from a CSV file hosted on GitHub, with date and temperature fields parsed before rendering. The chart includes a title, labeled axes, and grid lines.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes