Area Chart
✓ Published0🌍 Public
This area chart visualizes the average life expectancy over time, using a blue filled region beneath a line to emphasize the trend. Built with D3 v7, the SVG graphic relies on `d3.area()` to generate the path, with linear scales for both axes and data parsed from a CSV file. Axis ticks are added via `d3.axisBottom` and `d3.axisLeft`, while the chart's dimensions are set with explicit margins for clear presentation.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
Made in this video:
MIT Licensed