Q2 dinesh Line chart D3.js!
✓ Published0🌍 Public
This line chart visualizes the rise in average global temperature from 2000 to 2024, with yearly values plotted as a smooth monotone curve and marked by tomato-colored circles. The D3.js v7 code loads data from a CSV file using `d3.csv`, calculates linear scales with `d3.scaleLinear`, and renders axes via `d3.axisBottom` and `d3.axisLeft`. The chart is drawn as an SVG path with a steelblue stroke, while axes labels and a title are added as SVG text elements.
AI-generated descriptionMIT Licensed