Skip to main content
100%

Fork of Project Momentum

✓ Published0🌍 Public
Kkratikashetty1102@gmail.com
Last edited Mar 28, 2023
Created on Mar 28, 2023
Forked from Project Momentum

This radial line chart displays monthly temperature anomalies for Massachusetts across two years, with each year drawn as a circular path. The visualization uses React with D3 v5 scales (`scaleTime`, `scaleLinear`, `scaleOrdinal`) to map dates to angles and anomaly values to radii. A color legend filters highlighted paths on hover, while `lineRadial` and `curveLinearClosed` generate the closed circular trajectories. Data originates from a CSV file containing 1895–1896 anomaly records, rendered as SVG elements.

AI-generated description

Plotted anomaly temperature radially and displayed the months radially.

Alignment of the temperature and the months looks off and they are not centerred properly. Will be fixing this and making rest of the changes in the next update.

Took subset of data for the year 1895 and 1896 from - https://gist.githubusercontent.com/kratikashetty/45ef4d800b82dc4d9d486991714701cd/raw/54edf0a1b1d5270c534f4e4a108dab92adff397b/1895-2022%2520Massachusetts%2520Test.csv

Referred following code from following - https://vizhub.com/Echo226/40f6502388de4c4d8e985fffbff1d23e?edit=files https://vizhub.com/curran/0eecf121b8724637b33d9fb35fe3622d?edit=files&file=index.js

MIT Licensed

Similar vizzes