Fork of D3 Starter-likitha
✓ Published0🌍 Public
This line chart visualizes the relationship between temperature and bird migration distance, showing a smoothed monotone curve of average migration distance against temperature. The code loads a sample CSV of bird migration data, aggregates values by temperature using `d3.rollups`, and renders the result with D3 v7’s `d3.line()` and `curveMonotoneX`. The SVG chart includes labeled axes with `d3.axisBottom` and `d3.axisLeft`, plus a title and axis captions, all styled with steelblue strokes against a minimal white background.
AI-generated descriptionMIT Licensed