Skip to content

Elm test project: Visualize yearly average temperature from 1900 to 2020 from the worldbank api.

Notifications You must be signed in to change notification settings

gianlo/elm-world-temperature-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Temperature Explorer

This is an elm demo project. It implements a viewer of time series from the climate data API from worldbank.org.

The user is presented with yearly temperature average line charts for a bunch of countries from 1900 to today.

The frontend is developed both in plain elm (see the Main module that uses the HtmlView module) and using elm-ui (see the ElmUiView module).

Both implementations provide the user with the ability to:

  • zoom on the time axis (from and to year range)
  • select what series are displayed on the graph
  • remove the time series for a country
  • add the time series for a country not yet displayed

How to run

  • Install elm 0.19.1
  • For the plain elm implementation run: elm make src/Main.elm
  • For the elm-ui implementation run: elm make src/ElmUiView.elm
  • View the index.html produced by the compiler in a browser

Limitations

The plain elm implementation does not style the html produced.

References

Elm language

Elm ui

Elm line charts

World Bank: Climate Data API

About

Elm test project: Visualize yearly average temperature from 1900 to 2020 from the worldbank api.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published