Skip to content

Summary of key statistics regarding climate change in Japan. Data from Japan government, D3js used for visualizations.

Notifications You must be signed in to change notification settings

KevChaplin/japan-environmental-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Japan Environmental Dashboard v1.1

By Kevin Chaplin

Project Goals

  • Display relevant Japan centric data on issues related to climate change in an easy to understand and engaging format.

Personal Goals

  • Design and build my own project using the D3js framework to enhance my skills there.
  • Simulate a real work environment by:
    • Using complex real-world REST API for data.
    • Completing the project within a deadline (online career fair on 2021/10/15 - project started on 2021/10/6, estimate of available work time: 40 hours)
      • Project complete by deadline. Total time: 44 hours.
      • Responsiveness added with v1.1, still requires them/design overhaul.
    • Using the Kanban work management system.-

Design Choices

  • Chose data that would be relevant to climate change and easy to understand.
  • The intention is show trends over time as opposed to single data points.

Known issues

  • None

If I had more time I would ... / Next steps

  • I intended to do more work on style/design, but due to time constraints I went for a simple style. Will revisit this.
  • Choropleth and climate line graph are using the same data sets. They currently use separate API fetch functions. However, I would like to combine into one API call and compare performance. ie. Several smaller API fetch vs one large API fetch.
  • Bar graph data is loaded and sorted. Then data is sorted again into series data format as required by the stacked bar graph function. If possible, it would be better to sort the data only once, after retrieval.
  • Would like to try the same project using React. Think it would be better to have separate components drawing on the data held within state variables. Didn't try with this run to limit my focus on learning more about D3.js.

Resources

Change log

v1.1

  • Responsiveness added: small screen, large tablet/laptop, large screen. Three sets of layouts and sizing parameters.
  • Required extensive work to make all svg elements and their respective parts resize based on screen size and layout.
  • Combination of CSS and Javascrit/D3.js.

Other Notes

  • Error in Topojson data source - Nagasaki prefecture's name listed as "Naosaki" - issue raised, error corrected within application.

About

Summary of key statistics regarding climate change in Japan. Data from Japan government, D3js used for visualizations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published