Linechart Version 3
This interactive visualization displays San Francisco weather data from December 2015, plotting temperature metrics over time with the ability to switch between line and area chart views. Users can select which weather variables to display on the x and y axes, group data by season or other categories, and adjust point transparency via a slider. Built with React and D3 v5, the chart uses scaleTime, scaleLinear, and area or line generators to render SVG paths with animated transitions. A tooltip appears on mouseover, showing the precise time and value at the cursor position using d3.mouse and d3.timeFormat. The visualization supports dynamic updates through dropdown menus and demonstrates reusable chart components that re-render when data or display options change.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.