🌍 Public
Viewing a saved revision (read-only)
02f1c4b5f0b148d19cb8a2a3baf38c3b
Variant Chart -
This visualization displays temperature data over time as a line chart, with multiple overlaid series representing different genetic variants from a JSON dataset. Each variant’s temperature curve is drawn using a natural curve interpolation, with small circles marking individual data points that reveal timestamps on hover. The chart uses React for component structure and D3 v5 scales (`scaleTime`, `scaleLinear`) and axes for rendering the time-based x-axis and temperature y-axis. The temperature data comes from a CSV of weekly San Francisco temperatures, while variant information is loaded from a local JSON file.
AI-generated descriptionWorking with Time Data: Temperature in your City.