Skip to main content
100%

Goundhog Day Temperatures

✓ Published0🌍 Public
Jjhcliu19
Last edited Oct 30, 2019
Created on Oct 30, 2019

This line chart compares the average March temperature in the United States across years, grouped by whether Punxsutawney Phil saw his shadow on Groundhog Day. The visualization uses d3.csv to load the Kaggle dataset, d3.nest to group records by shadow status, and d3.line with curveBasis to render smooth paths for each category. Axes, scales, and a color legend are generated with d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and a custom colorLegend module, all rendered as SVG elements.

AI-generated description

This visualization is based on the groundhog day dataset found on Kaggle.If you've watched the movie 'Groundhog Day', you'll know that many people gather in Punxsutawney, Pennsylvania, on the second day of February to await the spring forecast from a groundhog known as Punxsutawney Phil. According to legend, if Phil sees his shadow the United States is in store for six more weeks of winter weather. However, if Phil doesn’t see his shadow, the country should expect warmer temperatures and the arrival of an early spring. This line chart compares the average temperature in March between shadow, no shadow, and partial shadow to see how accurate the forecast is.

MIT Licensed

Similar vizzes