Releases: PranavAmarnath/RisingTemperatures
Rising Temperatures 1.0
A desktop application to view data and visualization of Climate Change data from Berkeley Earth from 1750-Present.
Two datasets were analyzed: global and regional data.
Fixes/Additions: BEWARE - Long List
NOTE 1:
--1. Add legend for vertical bar graph (Jan 2) and rename from "Average temperature per year" to "Average temperature"
--2. Add tooltip to tables
--3. Fix line chart/scatter plot average per year - currently not as accurate - perhaps skipping some values
--4. Add seconds updater to splash
--5. Move range axis for double bar chart to the bottom
NOTE 2:
--1. Preferences dialog -> fix font size of "Move mouse over point/bar etc." to text instead of header.
--2. Change CategoryDataset to XYSeriesCollection wherever appropriate (where both x and y are numerical) for better zooming.
--3. Remove macOS Laf-specific features -> getting cluttered and unnecessary, looks old.
--4. Update "Darkness" ChartTheme for all charts when using Dark Laf, vice versa. -> causes series paint to go back to default
--5. Include "help" button somewhere or JLabel link for reference to GitHub.
--6. Fix "Quit" mechanism on Mac.
NOTE 3:
--1. Create View, Append data to dataset in GraphCharts, then call View's method for creating ChartPanels so that chart doesn't have to redraw every time. (Reduced 10 seconds in runtime, hopefully stays)
--2. For "Warning: Dark mode.." in 'createPreferences()', fix for html "..".
--3. Remove magic number '5' for 'multiXYLineChartByEconomy()' (and in other places).
--4. Remove unused imports.
--5. At line 658 in View.java -> add JOptionPane for error on systems that don't support 'Desktop.getDesktop()' in catch block
--6. Fix thread safety/synchronization.
NOTE 4:
--1. Change XYSeries to TimeSeries and XYSeriesCollection to TimeSeriesCollection. ( Most likely new Year(...) )
--2. Add custom RepaintManager to check for EDT violations. ( EDT violation detected at model.addRow(...) )
NOTE 5:
--1. Make some charts SlidingCategoryDataset to show more (most likely the bar graphs - may limit to ~50 countries)
--2. Show Deviation from line (range of uncertainty) - probably for avg. temp. line chart
NOTE 6:
--1. Remove arrows for scroll bars
--2. Generalize Seasons Charts (both view and model) - Add thumbnails for 4 months for each season
--3. Update FlatLaf version
--4. Add default Apple appearance dark mode system property
--5. Add thermometer plot
Utility Release
v1.0-alpha (Utility Release)
At this snapshot, I am unaware of what data I will be analyzing, but I developed this utility package to read from a CSV file and place the data into a DefaultTableModel
. From the model, I create the JTable
in my View.java
class.
This snapshot is a utility, so clone the repo then follow these steps:
- Open
View.java
undersrc
and modify the path in theReadData
construction parameter. - Save the file, and run
Main.java
. See below for steps to run the file.
Steps to run:
- In Eclipse IDE:
- Right-click the
pom.xml
- Click
Run as -> Maven Build...
- In the
Goals
field, specifyclean verify
- Right-click the
- In command line:
- Change directory to
SecresDataAnalysis
mvn clean verify
- Run JAR from
target\SecresDataAnalysis-0.0.1-SNAPSHOT.jar
- Change directory to
This is how this release's Maven-built JAR looks like:
The example uses a sample dataset MissingMigrants.csv
and imports the raw data into the JTable
.
Dependencies:
- OpenCSV -
CSVReader
classreadAll()
method - FlatLaf - FlatLight and FlatDark PLAFs for modern look and feel
- (Not used but is included as dependency) JFreeChart - Charting library for dataset (as of this release undecided)