Line Chart_ICE-7_Archana Goli
✓ Published0🌍 Public
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 descriptionA demonstration of how to start using D3 version 6.
MIT Licensed