Line Transition
✓ Published1🌍 Public
A line chart displays daily maximum temperatures for 100 days of weather data, updating every 1.5 seconds by shifting the dataset forward one day. The y-axis highlights temperatures below freezing with a light blue fill. Built with D3 v5, the visualization uses `d3.line`, `d3.scaleTime`, and `d3.scaleLinear`, animating transitions via `transition().duration()`. Each update shifts the newest point into view with a sliding transform, while the x-axis smoothly re-renders. Data loads from a JSON file containing temperature records.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed