Skip to main content
100%

Area Gradient fill

✓ Published0🌍 Public
Dd3noob
Last edited Nov 30, 2019
Created on Jan 2, 2013

This chart shows daily temperature variations over a year with a line and a gradient-filled area beneath it. The area uses a vertical gradient that shifts from steel blue to gray to red, tied to specific temperature thresholds. Built with the D3.js library, it parses dates from a CSV file and uses `d3.svg.area` to generate the path representing the temperature data between the line and the chart’s baseline.

AI-generated description

This variation of a line chart is taken from the example demonstrated by Mike Bostock where the gradient for the line varied. In this example the gradient is applied to the area fill instead.

mit Licensed

Similar vizzes